Re: Attaching Folder Action
Re: Attaching Folder Action
- Subject: Re: Attaching Folder Action
- From: Chris Espinosa <email@hidden>
- Date: Tue, 23 Jul 2002 10:05:17 -0700
On Tuesday, July 23, 2002, at 06:31 AM, Noa Yissar wrote:
I'm looking for a way to attach a folder action script to a folder
using
some kind of API (on OS 9), and not through the 'Attach Folder Action'
menu
obtained with the control-click.
I would like my application to be able to automatically attach a
script to a
folder when the user chooses his 'hot folder', and not to make him
attach it
manually.
You can send an event to the Folder Actions server:
tell application "Folder Actions"
attach action to alias "Macintosh HD:Documents:" using alias
"Macintosh HD:System Folder:Scripts:folder Ation Scripts:open - show
comments in dialog"
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.