A script to create uniquely-named screenshots
Thu, Oct 5 2006 at 7:30AM PDT • Contributed by: luomat
Thu, Oct 5 2006 at 7:30AM PDT • Contributed by: luomat
There are a few hints to manage screenshots, such as this one, but with the advent of the command-line screencapture command, this doesn't need to be so hard or complicated. What was I trying to do? I wanted to...
This AppleScript will prompt you (as does Shift-Command-4) to select some area to be captured. When captured, it will be saved to your user's Pictures folder, with the name as "Screenshot YYYY-MM-DD_hour.minute.second.png," and opened in Preview.app.
[robg adds: This previous hint used a script to grab a shot and open it immediately. This version adds the unique naming convention and changes the save location, and the script worked as described in my testing.]
- Save each screenshot with a unique name
- Save the screenshot into ~/Pictures/
This AppleScript will prompt you (as does Shift-Command-4) to select some area to be captured. When captured, it will be saved to your user's Pictures folder, with the name as "Screenshot YYYY-MM-DD_hour.minute.second.png," and opened in Preview.app.
[robg adds: This previous hint used a script to grab a shot and open it immediately. This version adds the unique naming convention and changes the save location, and the script worked as described in my testing.]
•
[6,930 views]
