Re: Folder actions
Re: Folder actions
- Subject: Re: Folder actions
- From: kai <email@hidden>
- Date: Fri, 7 Jul 2006 01:45:30 +0100
On 6 Jul 2006, at 14:23, Simon Troup wrote:
For some reason, in one of my scripts, folder actions get switched
off on one of the folders involved in the workflow.
Can anyone tell me if it's possible to switch folder actions back
on for a folder using applescript?
Try something like this, Simon (modifying the alias paths as required):
--------------
set f to alias "path:to:target folder:"
set s to alias "path:to:target script.scpt"
tell application "System Events" to if s is not in (attached scripts
f) then attach action to f using s
--------------
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden