i.e.:
custom token1: cameraMake
custom token2: cameraModel
custom token3: country
Applescript return:
- Code: Select all
return {hazelPassesScript:true, hazelOutputAttributes:{cameraMake, cameraModel, country}}
folder structure:
Date>token1 token2>
file rename: "token2 token1 token2 extension"
Now, a image may NOT have all of the data available (country for example) and I am thinking it would just be ignored and move on to adding the other tokens to the name.
I can verify by making the AppleScript a standalone and run it without hazel one the same files that the extracted info is there. However when I run it with hazel as an embedded script, the files that have ALL the data are getting messed up, cameraName is being used as country.
I'm kind or stuck.
I will post pictures if I need to clarify.