Run script when a file is opened

Joined
Aug 7, 2007
Messages
3
Reaction score
0
Points
1
I'm looking for a way to run a script when a file in a given folder is opened.
I've looked into Folder Actions and Automator seems to be the easiest way to do this, since I don't know much about Applescript.
Problem is, Folder Actions only seem to be able to run when something is put into a folder, not when it's opened.
Is there any way to do this? Maybe even with a simple script running in the background? All I really need to do is change the colour label of a file when I open it, maybe a few other little things that I can figure out, I just need the handler for this kind of thing...
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top