help updating theFile back to hazel from applescript

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

i have a hazel operation that has an applescript that sorts and renames files in the middle of a bunch of hazel steps. the problem is that since applescript is doing the moving/renaming then hazel loses track of it and thinks the file has disappeared and can't continue with that file. Is there a way i can update theFile with the new correct file/path to pass back into hazel as the applescript completes so hazel can continue with that modified file?
wsup55
 
Posts: 1
Joined: Thu Sep 10, 2015 4:50 pm

You can use hazelSwitchFile in the record you return from the script. Check the help as it's outlined there.
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support