Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Random screenshot name

Random screenshot name
Thread Tools
moep
Senior User
Join Date: Nov 2003
Status: Offline
Reply With Quote
Nov 8, 2008, 12:39 PM
 
I utilize cmd-shift-4 quite often and then drag the resulting image into my “Stuff” folder to to archive it after I am done with my screenshot.

The problem is that this folder already contains at least one Picture 1.png or Picture 2.png so I have to rename it to something random before I drag it into the folder.

Since that’s pretty annoying I wonder if there’s a way to make OS X give the recorded screenshots a random name — something like “ak2xjbs.png” instead of “Picture 1.png” would do just fine.

I’ve found Sharpshooter which would at least speed up the renaming process a bit but I’m going to pay $15 for that application.
"The road to success is dotted with the most tempting parking spaces."
     
seanc
Moderator Emeritus
Join Date: Apr 2005
Location: Cambridge, UK
Status: Offline
Reply With Quote
Nov 8, 2008, 12:44 PM
 
Why not just set your screenshots to automatically go into a screenshots folder? This way it will always name it the next picture X.extension name.

You can use Onyx to change the location.
     
moep  (op)
Senior User
Join Date: Nov 2003
Status: Offline
Reply With Quote
Nov 10, 2008, 03:05 PM
 
I’ve done that now although I would have preferred the random name.
Thanks.
"The road to success is dotted with the most tempting parking spaces."
     
Big Mac
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Offline
Reply With Quote
Nov 10, 2008, 03:07 PM
 
I made an Automator action to append the filename with the date it was created to solve that problem.

"The natural progress of things is for liberty to yield and government to gain ground." TJ
     
GSixZero
Mac Elite
Join Date: Aug 2004
Location: Seattle, WA
Status: Offline
Reply With Quote
Nov 10, 2008, 03:26 PM
 
Originally Posted by Big Mac View Post
I made an Automator action to append the filename with the date it was created to solve that problem.
Would you mind elaborating on how you did this? I poked through Automater a little and didn't find anything specially pertinent to screen caps.

ImpulseResponse
     
Jens_
Fresh-Faced Recruit
Join Date: Nov 2008
Status: Offline
Reply With Quote
Nov 14, 2008, 09:19 AM
 
Had the same problem

Here is what I did to solve it with Automator.


Save As


Enable it


Hope it helps.
     
moep  (op)
Senior User
Join Date: Nov 2003
Status: Offline
Reply With Quote
Nov 16, 2008, 09:24 AM
 
Originally Posted by Jens_ View Post
Had the same problem

Here is what I did to solve it with Automator.
Save As
Enable it
Hope it helps.
Sweet, thanks a lot!

Update: I’ve actually managed to modify the script so it renames it to a pseudorandom name and it works great.
If anyone is interested in the steps needed to have the above Folderaction rename screenshots to a random name with letters from A-z I can put the steps up here.
Once again thanks for pointing out the Folderaction/Automator approach, Jens.
( Last edited by moep; Nov 16, 2008 at 10:44 AM. Reason: yay, works.)
"The road to success is dotted with the most tempting parking spaces."
     
NobleMatt
formerly crazyreaper
Senior User
Join Date: Jul 2007
Location: York, UK
Status: Offline
Reply With Quote
Nov 16, 2008, 09:31 AM
 
you could actually go one step further and create an action to take the screen shot, save to location x and change the name, so it did it everything you took a screen shot, wouldnt have to run the action afterwards
The Spammer Formally Known As Crazyreaper
Mac Book Pro 15", 2.66 Ghz C2D, 4GB DDR3 / iPhone 4 16GB
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 09:56 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,