Skip to content

Instantly share code, notes, and snippets.

@vmitchell85
Last active May 18, 2017 15:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save vmitchell85/6345dd2e452a58184af300bcf8ec755d to your computer and use it in GitHub Desktop.
Open a server by name via AppleScript
tell application "System Events" to tell process "Jump Desktop"
activate
click menu item "Computers" of menu 1 of menu bar item "Window" of menu bar 1
click menu item "Find" of menu 1 of menu bar item "Edit" of menu bar 1
keystroke "SERVER"
keystroke tab using {shift down}
keystroke return
end tell
@vmitchell85
Copy link
Author

Updated to use menu items which is more reliable and switching to Computers view in case an existing connection is forefront.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment