Instantly share code, notes, and snippets.

Embed
What would you like to do?
Applescript to open up the app store and search for Xcode
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