Setting file labels with AppleScript

Hi. Maybe you guys can help.

I’m looking for a way to change a files label once the file has been opened. I’ve found one that will change the label when the file has been copied to a folder, but thats not what i’m needed.

Thanks.

Hi,
try to collect your data in ‘done’ and ‘todo’ folders. Attach an folder action script to both folders and on opening one of these, you’ll get file labels changed. (but this concept works only in icon view)
Otherwise, its really a bit fantastic: we can do very very much with applescript, but some actions aren’t scriptable.
I hope you’ll get what you want.