[FILES] Move & Rename Screenshots to Screen Shots Folder

However, I have not tested for doing another screen shot before you have finished the macro of the current screen shot. I don't know why that would every happen. As soon as you complete a screen shot, the macro immediately pops up.

But maybe I'm missing something.

Yes, you are :wink: It’s not the user who is making two subsequent screenshots, it’s the OS that is placing two files in the Desktop folder. The first one you don’t see. It’s the temporary dot file (see my post above and/or the screenshot here). This triggers the first run of the macro. You won’t see the user prompt, because the macro gets stopped at the ^Screenshot condition.

A little bit later (how much later depends on the size of the screenshot) the final file —without dot— appears on the Desktop. This triggers the macro again.

Run the macro in debugging mode (Keyboard Maestro Menu > Start Debugging) and you’ll see the two instances of the macro. Or remove the file name condition, and you’ll see two user prompts. If you don’t see it, than the whole thing is something new of El Capitan.

Note that I did not have to add any of these:

Pause before the variable declaration
a Semaphore Lock action

It seems your new version runs fine so far, even with small screenshots. But, as said, the whole thing seems to be a timing issue between the first and the second instance of the macro. Since you inverted the file name condition (!^Screenshot) in the new version you may have “accidentally” resolved the issue. But when the macro is run on a different machine (faster or slower CPU/disk) I wouldn’t bet that the issue won’t appear.

With the Semaphore Lock you are on the sure side, since it doesn’t let run the second instance unless the first one (the one from the dot file) has terminated.