I need to automate a screenshot task, so I thought why not use automator?

I found the "Take Screenshot" Action and started to play with it. The problem is is that is sets the file name and when the workflow is ran again it overwrites the prior screenshot. I tried selecting this and renaming it but it won't work.
Essentially what I want is the normal function of Command + Shift + 3 where it will date-stamp it or something, anything but overwrite!! Any ideas?

I've been trying to set "Save To" as a variable. But I can't set the path as well as the file name var like current time.

3 Answers 3


Try it like this:
Automator workflow screenshot

This one has a loop built into it, make sure you set 'Timed' to 1 second and the 'Format' of the 'Add Date or Time' step to Hour Minute Second

  • This works but it doesn't work in a loop or if you press run, then press it again it overwrites. Feb 9, 2011 at 0:24
  • updated to include loop. If you set the 'Format' of the last step to include seconds it shouldn't overwrite. Feb 9, 2011 at 0:40
  • Edited again, loop had to go at the end Feb 9, 2011 at 0:45
  • I think for Date/Time you should try 'Current' instead of created
    – jtreser
    Dec 26, 2012 at 13:21

I tried like this and it worked fine enter image description here


Try to make another workflow of the rename action and then run that workflow in the first workflow which makes the screenshots.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .