Importing Hazel Tokens / Matched Data into Automator

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

Moderator: Mr_Noodle

Hey guys,

I am a Hazel fanatic and Automator fiend. Currently, I am trying to set up a Hazel rule (or Hazel/Automator workflow if need be) that generates a .txt file based off a google forms pre-filled link and adds data found in PDFs identified by Hazel. Is there a way to send Hazel tokens to Automator?

I understand there is a way to send tokens to AppleScript/Javascript. Is it possible to then import those variables into Automator via a script?

I don't use Applescript or Javascript often so trying to create this rule via code comes off like reading German to me. If this is my only route however, I would love some resources to look at and learn.

Thanks for your help!
hippigrippi
 
Posts: 1
Joined: Thu May 25, 2017 10:02 am

No way to do that with Automator. Normally you would need a script though alternatively, if you can get Automator to read the file's comments, you can have Hazel stuff the necessary data there.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support