ActivateApps
Here is a sample configuration file for use with the ActivateApps template:
# lines beginning with the '#' character get ignored
# The '*' indicates an optional field
# 1st app name,2nd app name*,key,modifier*
Adobe Photoshop 2021,Preview,p,command
zoom.us,z,option
This configuration file:
assigns ā-p-p (hold down command key and double tap "p") to open Adobe Photoshop
assigns ā-p-p-p (hold down command key and triple tap "p")to open Preview
assigns ā-z-z (hold down command key and double tap "z") to open Zoom
Notice the second app name is optional. If only one app name is provided, only one shortcut (double tap) will be generated. If two app names are provided, the first app is assigned to the double tap shortcut and the second app is assigned to the triple tap shortcut.
The "modifier" argument is also optional. If not provided, it defaults to the "command" key. You may use "option," "control," "shift," or "command" for the modifier key.
PRO TIP: You must type in the exact name of the app. To ensure you get the correct app name, you can use the Mac::Application::List module installed with this module to list out the apps installed on your machine. Alternatively, use the Karabiner-EventViewer application.