• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I set folder action in Yosemite, please?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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'.

  • Folder Actions Setup.app is now in /System/Library/CoreServices; it may be accessed by control-clicking on a folder and selecting Folder Actions Setup.
-- 

Bill Cheeseman - email@hidden

 _______________________________________________
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

  • Follow-Ups:
    • Re: How do I set folder action in Yosemite, please?
      • From: Yvan KOENIG <email@hidden>
References: 
 >Re: How do I set folder action in Yosemite, please? (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Re: How do I set folder action in Yosemite, please?
  • Next by Date: Re: How do I set folder action in Yosemite, please?
  • Previous by thread: Re: How do I set folder action in Yosemite, please?
  • Next by thread: Re: How do I set folder action in Yosemite, please?
  • Index(es):
    • Date
    • Thread