Re: Folder actions
Re: Folder actions
- Subject: Re: Folder actions
- From: Mr Tea <email@hidden>
- Date: Wed, 11 Jul 2001 21:30:25 +0100
This from stryke - dateline 10-07-01 5.24 PM:
>
I was just wandering if the Folder actions extension is scriptable.
>
I dragged it to the script editor and it opened up a dictionary
>
but I can't seem to script it right.
Are you putting commands directed at the FA extension in an appropriate
'tell' block?
Here's a simple script for attaching a folder action to a folder where both
items are on the desktop:
tell application "Folder Actions"
attach action to alias "Hard Disk:Desktop Folder:Action Folder:" using
alias "Hard Disk:Desktop Folder:Folder Action"
end tell
That's all on one line from 'attach' to 'Folder Action"'
HTH
Mr Tea
--
Brew of the day: Royal Blend
Visit the Tea Room at:
http://homepage.mac.com/mrtea/tearoom.html