OK, so I have been working on a regex to strip the filename. While it works just fine in Regex buddy I get an error message when I try to use it in Keyboard Maestro. The regex is
^(./)([^/])$
What is wrong with this? I am running on a mac and I can see the filepath + filename being passed into the regex and it looks like this:
/Users/gary/Desktop/Screen Shot 2016-10-28 at 4.01.38 PM.png
But if your only purpose is to have all screenshots go to a specific directory, it’s probably more convenient to use this macro. (With it you just set the destination folder for screenshots, instead of moving them around.)
In the case of this macro the variable filePath will not be populated until you run the macro OR right-click on the Set Variable action and select “Try”.