No internet connection
  1. Home
  2. How to

Changing MacBook Pro Touch Strip Options

By Matt Bauer @Matt_Bauer
    2020-10-21 06:04:18.226Z

    Hi, When working on a current model MacBook Pro, the F-Keys are built in to the touch strip.
    I'm trying to create two macros. One that will open system preferences, go to Keyboard, and change the touch strip to show F-Keys (for Use in Pro-Tools). Then create another macro that changes the touchstrip back to App Controls (when not using Pro-Tools). Attached is a screenshot of my attempt but this is not working. Any assistance would be muchly appreciated. Thank you.

    • 3 replies
    1. I think you can do this directly as a Terminal command:

      To switch to function keys:

      sf.system.exec({
          commandLine: `defaults write com.apple.touchbar.agent PresentationModeGlobal FunctionKeys && pkill "Touch Bar agent"; killall "ControlStrip";`
      });
      
      1. GGuilherme Vales @Guilherme_Vales
          2021-11-25 16:31:25.677Z

          Hi Christian,

          This command doesn't work for me, is there something else I need to do to get it to work?
          Also, where would I find the other variations of the PresentationModeGlobal in order to write the script to change it back to the default mode?

          1. Hi Guilherme,

            I'm pretty sure I just googled the above. I don't remember how I found it tbh.