Last active
May 18, 2017 15:08
Star
You must be signed in to star a gist
Open a server by name via AppleScript
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" 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated to use menu items which is more reliable and switching to Computers view in case an existing connection is forefront.