I have a custom token "Operator" generated by this simple Applescript:
- Code: Select all
return {hazelExportTokens:{Operator:do shell script "whoami"}}
It gives the shortname of the current user, e.g. "jpreussmann"
Now I want this token to be added to the original name of the triggered file,
but not the whole name but only the first two letters.
So I tried the tokens option "replace text".

The tokens value is added to the name but without the text replacement.
Any ideas ?
Thanks,
Joerg