Using result of Shortcut as input to Hazel tagging rule?

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

I am trying to use the result of a Shortcut I have created and use it as a tag to apply to files within a folder.

My Shortcut extracts metadata from an image such as the location of that image. Right now I am only able to have that result displayed to me within the shortcuts app or apply it to clipboard. I would like to apply this rule to a hazel folder.
[i]For example: Lets say I have a folder full of images and would like to extract metadata from each image (for this example I will be extracting the City) and apply the city of where the image was taken as a tag for that image. If an image was taken in Atlanta, I need the text "Atlanta" to be tagged to that image.[size=150][/size][/i]
pachydermpower
 
Posts: 3
Joined: Tue Feb 01, 2022 12:15 pm

You can't really send data from Shortcuts back to Hazel. For that, I would recommend using AppleScript instead. Either that or have the Shortcut add the tag.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion

cron