Mr_Noodle wrote:You can't do it from a shell script. You would either need to (a) use an AppleScript and specify the new target in the return record
So an Applescript can tell Hazel a match variable which Hazel then can use in its Rename Action. Hiw can an Applescrdo this?
Mr_Noodle wrote:(b) have a separate rule to match the output file.
I don't understand this one: How can a seperate rule do the Renaming do better than the first one?
Maybe I wasn't clear enough: My Shell- or Applescript does return a file
name (string). It does not rename the file. I want to leave the renaming to Hazel.