Created
September 19, 2014 22:33
-
-
Save inorganik/fc59c72db9c691ced8e3 to your computer and use it in GitHub Desktop.
Prepare / Build / Run / Inspect
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 "Terminal" | |
do script ("cordova prepare ios") in window 1 | |
end tell | |
delay 3 | |
tell application "Xcode" | |
activate | |
end tell | |
tell application "System Events" | |
keystroke "r" using command down | |
end tell | |
delay 3 | |
set device_name to "iPhone Simulator" | |
tell application "Safari" | |
activate | |
tell application "System Events" | |
click menu item "index.html" of menu device_name of menu item device_name of menu "Develop" of menu bar item "Develop" of menu bar 1 of application process "Safari" | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment