Skip to content

Instantly share code, notes, and snippets.

@mikfreedman
Created March 25, 2020 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikfreedman/351450472c2a430c3e26b18f147f2270 to your computer and use it in GitHub Desktop.
Save mikfreedman/351450472c2a430c3e26b18f147f2270 to your computer and use it in GitHub Desktop.
Keyboard Maestro - Global Push to Talk Macro using a random mouse buton
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>Activate</key>
<string>Normal</string>
<key>CreationDate</key>
<real>606836837.23022795</real>
<key>Macros</key>
<array>
<dict>
<key>Actions</key>
<array>
<dict>
<key>KeyCode</key>
<integer>49</integer>
<key>MacroActionType</key>
<string>SimulateKeystroke</string>
<key>Modifiers</key>
<integer>0</integer>
<key>Press</key>
<string>PressAndHold</string>
<key>ReleaseAll</key>
<false/>
<key>TargetApplication</key>
<dict>
<key>BundleIdentifier</key>
<string>us.zoom.xos</string>
<key>Name</key>
<string>zoom</string>
<key>NewFile</key>
<string>/Applications/zoom.us.app</string>
</dict>
<key>TargetingType</key>
<string>Specific</string>
</dict>
<dict>
<key>Conditions</key>
<dict>
<key>ConditionList</key>
<array>
<dict>
<key>Button</key>
<integer>3</integer>
<key>ConditionType</key>
<string>MouseButton</string>
<key>Pressed</key>
<false/>
</dict>
</array>
<key>ConditionListMatch</key>
<string>All</string>
</dict>
<key>MacroActionType</key>
<string>PauseUntil</string>
<key>TimeOutAbortsMacro</key>
<true/>
</dict>
</array>
<key>CreationDate</key>
<real>606836946.41318202</real>
<key>ModificationDate</key>
<real>606837863.91781199</real>
<key>Name</key>
<string>Zoom PTT</string>
<key>Triggers</key>
<array>
<dict>
<key>ElementCookie</key>
<integer>7</integer>
<key>ElementDeviceUsage</key>
<integer>2</integer>
<key>ElementDeviceUsagePage</key>
<integer>1</integer>
<key>ElementName</key>
<string>Microsoft® Classic IntelliMouse® Button 4</string>
<key>ElementProductID</key>
<integer>2083</integer>
<key>ElementShortName</key>
<string>B4</string>
<key>ElementUsage</key>
<integer>4</integer>
<key>ElementUsagePage</key>
<integer>9</integer>
<key>ElementValue</key>
<integer>1</integer>
<key>ElementVendorID</key>
<integer>1118</integer>
<key>FireType</key>
<string>Pressed</string>
<key>MacroTriggerType</key>
<string>HID</string>
<key>Modifiers</key>
<integer>0</integer>
<key>UseModifiers</key>
<true/>
</dict>
</array>
<key>UID</key>
<string>553C99AA-9BA3-4A8C-BB89-5324FEA7B201</string>
</dict>
</array>
<key>Name</key>
<string>Global Macro Group</string>
<key>ToggleMacroUID</key>
<string>CAD005E0-A3D6-43B6-84EB-CB5486FA2DCE</string>
<key>UID</key>
<string>3A5ADB8E-E53B-441A-9997-E7A420F97A85</string>
</dict>
</array>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment