Re: How do I set folder action in Yosemite, please?
Re: How do I set folder action in Yosemite, please?
- Subject: Re: How do I set folder action in Yosemite, please?
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 30 Nov 2014 08:12:28 -0500
On Nov 30, 2014, at 7:44 AM, Nigel Garvey < email@hidden> wrote:
… apparently now has to be:
tell application "System Events" set thisAction to (make new folder action at end of folder actions with properties {path:(thisFolder as text)}) make new script at end of thisAction's scripts with properties {name:(get thisScript's name)} end tell
I can't find any documentation saying when this change came about, but a script I have was altered to the new syntax in October 2011.
Nice. That one wasn't documented in AppleScript Release Notes, either.
The following was documented in AppleScript Release Notes for 10.6, and Folder Actions Setup is still in Core Services and still scriptable. Its Folder Actions Setup Suite duplicates some but not all of the terminology in the System Events Folder Actions Suite. But it doesn't include 'attach'.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden