Thread: Run script when a file is opened
12-12-2009, 05:51 PM #1Run script when a file is opened
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...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By nitingpt in forum OS X - Apps and GamesReplies: 0Last Post: 02-09-2011, 06:38 AM
By Straitsfan in forum OS X - Apps and GamesReplies: 0Last Post: 01-30-2011, 09:04 PM
By yinglcs in forum OS X - Operating SystemReplies: 0Last Post: 02-09-2009, 08:54 PM
By milessthomas in forum OS X - Development and DarwinReplies: 4Last Post: 10-06-2007, 03:40 AM
By thermidor in forum OS X - Operating SystemReplies: 2Last Post: 08-21-2007, 07:31 PM