Skip to content

Instantly share code, notes, and snippets.

@ragingwind
Last active August 7, 2021 03:50
Show Gist options
  • Save ragingwind/e4b84d5f9e5f7a34ed185797dcf23a30 to your computer and use it in GitHub Desktop.
Save ragingwind/e4b84d5f9e5f7a34ed185797dcf23a30 to your computer and use it in GitHub Desktop.
tell application "System Events"
key down {command}
keystroke {tab}
delay 0.2
key up {command}
end tell
osascript -e "tell application \"System Events\" to keystroke tab using command down"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment