Working in a support role means I spend alot of time using the built in OS X screen capture facilities, which generally means I end up with hundreds of Screen Shot ****.png files scattered all over my desktop.
Today I started working on the AppleScript below, which I have set as a folder action on my default screen capture folder.
It’s far from complete, and is definitely a current project, however I thought I’d share it at each stage.
To change your default screen capture directory, launch terminal and run the following command
defaults write com.apple.screencapture location /screencapturepath/;killall SystemUIServer
|
-- Apple Script to rename screenshots as they drop into a special 'hot folder' -- Author Mike Hudson (aka MikeSel - https://www.mikesel.info) on adding folder items to the target_folder after receiving these_items tell application "Finder" repeat with i from 1 to the count of these_items set this_image to item i of these_items if the name of this_image starts with "Screen Shot" then set theName to the text returned of (display dialog "Rename the image to" default answer ".png") set the name of this_image to theName as string end if end repeat end tell end adding folder items to |
Would you do it differntly? Have an improvement to suggest? Drop me a note below.
Read More