Created
August 31, 2015 15:48
-
-
Save brianpartridge/fa174fb85eb7a50c8959 to your computer and use it in GitHub Desktop.
Load the current iOS Simulator screen into Kaleidoscope
This file contains hidden or 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 "System Events" to tell process "iOS Simulator" | |
set frontmost to true | |
tell menu bar item "Edit" of menu bar 1 | |
# Grab Screenshot | |
click menu item "Copy Screen" of menu 1 | |
end tell | |
end tell | |
tell application "System Events" to tell process "Kaleidoscope" | |
set frontmost to true | |
tell menu bar item "Edit" of menu bar 1 | |
# Paste in the screenshot | |
click menu item "Paste to Comparison" of menu 1 | |
# Set the screenshot as the new B | |
click menu item "Select Next B" of menu 1 | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My workflow: