Re: "attach action to" error in Folder Actions Extension
Re: "attach action to" error in Folder Actions Extension
- Subject: Re: "attach action to" error in Folder Actions Extension
- From: Noa Yissar <email@hidden>
- Date: Mon, 29 Jul 2002 08:53:40 -0700 (PDT)
thank you very much, this helped :-)
I used:
set fol_alias to alias "System:my scripts:script test
folder:"
set script_alias to alias "System:my
scripts:my_script"
tell application "Folder Actions"
attach action to fol_alias using script_alias
end tell
and it works now.
thanks,
Noa
--- Michiel de Leeuw van Weenen <email@hidden>
wrote:
>
This is what the Book 'Applescript in a Nutshell
>
says":
>
>
>
Attach action to folder alias:
>
Attach a folder action to a folder using this
>
command:
>
attach action to
>
fol_alias using script alias
>
>
The fol_alias variable contains an alias to a
>
folder. The script_alias
>
variable is an alias to the Applescript that will be
>
attached to the folder.
>
The Example section lets the user choose a folder to
>
attach actions to.
>
>
using alias:
>
Use this labeled parameter to specify the script
>
that will be attached to
>
the folder. The script itself is stored in an alias
>
variable or in a literal
>
alias:
>
using script (alias
>
"macintosh hd:desktop
>
folder:moveApplet"
>
>
I hope this helps.
>
Michiel de Leeuw van Weenen
>
The Netherlands
>
_______________________________________________
>
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.
Yahoo! Health - Feel better, live better
http://health.yahoo.com
_______________________________________________
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.