Mr_Noodle wrote:The bad news is that it does require AppleScript but the good news is that I've posted the script and you can use it as is: viewtopic.php?p=1545#p1545
That uses a mechanism I added to the AppleScript support where the script can re-target the file that Hazel will operate on in subsequent actions (in this case, the parent folder).
I will be adding a built-in way to do this in a future release.
Mr_Noodle wrote:Select the "Run AppleScript" action, click "Edit script" and paste in the script from that article in there. No need to edit it. "theFile" is a variable that represents the file being processed at the time and gets replaced with the actual file when the script runs.
If all of the following are true for any sub-file or folder
Name contains <whatever>