Created
November 1, 2016 13:33
-
-
Save jayhardee9/bdc95af357714c046a87d5b03d72cf3a to your computer and use it in GitHub Desktop.
Prompt for filename before saving screenshot (Macos Automator)
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
| on run {input, parameters} | |
| tell application "SystemUIServer" | |
| set f to (choose file name default name (do shell script "date +'Screen_%Y%m%d_%H%M%S.png'"))'s POSIX path | |
| do shell script "screencapture -ix " & f's quoted form | |
| end tell | |
| return input | |
| end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment