Skip to content

Instantly share code, notes, and snippets.

@williamli
Created July 11, 2020 06:10
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 williamli/9e2962c6b12db9fae03aba0a00b0671e to your computer and use it in GitHub Desktop.
Save williamli/9e2962c6b12db9fae03aba0a00b0671e to your computer and use it in GitHub Desktop.
AppleScript to launch and hide NordVPN.app
tell application "NordVPN"
activate
tell application "System Events" to keystroke "w" using {command down}
end tell
delay 0.5
tell application "NordVPN"
activate
tell application "System Events" to keystroke "w" using {command down}
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment