I tried creating an AppleScript that is returning a record with hazelExportTokens as it is described in the help. The script is as simple as possible:
- Code: Select all
I clicked the little i on the top right corner and added test as a token. Then I added another rule that sorts it into the folder with the the name specified by the token test
Problem: test seems to be empty. any idea why this is the case? I'm kinda new to AppleScripts so please tell me if I do something completely wrong
EDIT: I just found out that the "passes shell script" rules don't work for me either. There seems to be some issue with parsing return codes on my machine.