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: Yvan KOENIG <email@hidden>
- Date: Sun, 30 Nov 2014 14:54:21 +0100
> Le 30/11/2014 à 13:44, Nigel Garvey <email@hidden> a écrit :
>
> Yvan KOENIG wrote on Sun, 30 Nov 2014 11:53:38 +0100:
>
>>> I hope you can put ‘attach action’ to good use.
>
>> So, now things are clear.
>> The command is defined but who knows why, Apple decided to hide this
>> definition (and some other ones).
>
> Hi Yvan.
>
> It's an old System Events command which has now been superseded. What
> used to be …
>
> tell application "System Events" to attach action to thisFolder using thisScript
>
> … 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.
>
> NG
Hello Nigel
This scheme is the one used in the scripts delivered by Apple in the folder :
/Library/Scripts/Folder Actions
Their Copyright is dated 2007.
I tried to look at old install disks but the 10.4, 10.5 and 10.6 ones which I have don't mount on my Yosemite system.
I will try to look in my daughter's old iBook running a 10.4.x system.
Yvan KOENIG (VALLAURIS, France) dimanche 30 novembre 2014 14:54:17
_______________________________________________
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