Re: Folder Action the Cocoa Way
Re: Folder Action the Cocoa Way
- Subject: Re: Folder Action the Cocoa Way
- From: Pablo Pons Bordes <email@hidden>
- Date: Sun, 25 Jun 2006 12:56:43 +0100
I don't know if there is any API to do this but if you are able to do
this by an apple script what you can do is execute the apple script
from the COCOA code with the "NSAppleScript" Class. I think that it
is the easy and fasted way if you know to do with apple script
good luck
Pablo Pons
El 24/06/2006, a las 19:40, Mark Butler escribió:
First I am really new to this... So I guess I am beggin for a
little slack. Maybe all I really need is pointers to the right
documentation.
Is there a way to attach a "folder action" to a directory with an
objective c call... Or do I need to call an applescript to do that.
I can attach a folder action by doing an applescript like
Tell application "System Events" to attach action to myFolder using
myActionScriptFile
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden