Jump to content

a-b

Member
  • Posts

    10
  • Joined

  • Last visited

Posts posted by a-b

  1. You can use custom script like:

     

    state=$(defaults read "Apple Global Domain" "com.apple.keyboard.fnState")
    
    if ((state)); then
      echo "true"
      defaults write "Apple Global Domain" "com.apple.keyboard.fnState" "0" ## Brightness/Media
    else
      echo "false"
      defaults write "Apple Global Domain" "com.apple.keyboard.fnState" "1" ## F1 F2 etc
    fi
    
    defaults read "Apple Global Domain" "com.apple.keyboard.fnState"

     

  2. Please consider improving developer experience by simplifying test and debug of

    https://www.alfredapp.com/help/workflows/actions/run-script/ component in isolation.

     

    I propose to add following features:

    1. Input where I can add command line parameters or query that would be passed to the script.
    2. Run button that will execute script.
    3. Some way to see output via the multiline textbox. Could be a popup or a multiline section below this window.

     

    Let me know if you have any questions.

     

    105704806_ScreenShot2021-01-30at6_29_28PM.thumb.png.fa62237fc40f15746e9208453f544450.png

×
×
  • Create New...