Today I Learned

A Hashrocket project

Ready to join Hashrocket? Find Openings here and apply today.

Use meta keys with AppleScript

Example opening Xcode’s organizer window:

osascript -e 'tell application "Xcode" to activate' -e 'tell application "System Events" to keystroke "o" using {command down,shift down,option down}'