Page 1 of 1

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

PostPosted: Mon Feb 25, 2013 2:50 pm
by 4dgUJg2vCkpH
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!

Re: I'd like to use the output of a Shell/Applescript as inp

PostPosted: Mon Feb 25, 2013 4:14 pm
by Mr_Noodle
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.

Re: I'd like to use the output of a Shell/Applescript as inp

PostPosted: Thu Feb 28, 2013 10:59 am
by 4dgUJg2vCkpH
Oh thank you! That should work!