Created
June 2, 2013 08:43
-
-
Save phs/5693053 to your computer and use it in GitHub Desktop.
Applescript to open up the app store and search for Xcode
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 "App Store" | |
activate | |
delay 5 -- wait for it to start | |
end tell | |
tell application "System Events" | |
tell window "App Store" of process "App Store" | |
-- Search for Xcode | |
tell text field 1 of group 7 of tool bar 1 | |
set value to "Xcode" | |
click button 1 | |
delay 2 | |
end tell | |
-- ... | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment