I'd like to use the output of a Shell/Applescript as input

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

Moderator: Mr_Noodle

Hello,

I'm sorry if this has already been answered, I searched the forums but couldn't find it.

Say I have a bunch of files. I want to sort them into subfolders based on certain metadata that Hazel doesn't support. I can extract the metadata using the shell, but now I want Hazel to be able to use that result to sort the files into subfolders.

Is that possible? Thanks!
4dgUJg2vCkpH
 
Posts: 4
Joined: Wed Feb 08, 2012 8:14 am

There is no way to export that from a shell script but you can via AppleScript. Search the help for "applescript" as there are details on how to export tokens which Hazel can then use.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Oh thank you! That should work!
4dgUJg2vCkpH
 
Posts: 4
Joined: Wed Feb 08, 2012 8:14 am


Return to Support