I’m looking for some help in creating a macro that automatically moves .txt and .pdf files from my Downloads folder to a specific folder based on keywords in the filename. Hazel handles this really well, but I'm trying to reduce the number of software tools I use, and I’m confident that Keyboard Maestro can do this (as it seems to handle almost everything!).
Great, it works! Thank you. Just one last question: can I use the %TriggerValue% variable only with this macro, or is it okay to use it anytime I want to check a filename?
Second, %TriggerValue% is set to the value of the trigger for the macro, which, in this case, and possibly some other cases, is the name of the file. So the answer to your last question depends upon which trigger triggered your macro.