Skip to content

Instantly share code, notes, and snippets.

@colinharman
colinharman / Alfred+ScreenSharing+AppleScript+MountainLion.scpt
Created August 6, 2012 02:33
Alfred + Screen Sharing + AppleScript + Mountain Lion = Winning
tell application "Screen Sharing"
activate
tell application "Screen Sharing"
activate
tell application "System Events"
keystroke "osx-mini.local" -- "osx.mini.local" would need to be replaced by "YourComputerName or IP Address"
keystroke return
end tell