Created
June 14, 2019 21:23
-
-
Save robotsandcake/5bc75958d39c8378d9338e70f9603701 to your computer and use it in GitHub Desktop.
Example of using AppleScript to invoke key combinations. This hides the application other than the from most one when.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Events" | |
-- This key combination hides every application other than the frontmost | |
keystroke "h" using {command down, option down} | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment