• 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: Attaching Folder Action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attaching Folder Action


  • Subject: Re: Attaching Folder Action
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 23 Jul 2002 10:05:17 -0700

On Tuesday, July 23, 2002, at 06:31 AM, Noa Yissar wrote:

I'm looking for a way to attach a folder action script to a folder using
some kind of API (on OS 9), and not through the 'Attach Folder Action' menu
obtained with the control-click.
I would like my application to be able to automatically attach a script to a
folder when the user chooses his 'hot folder', and not to make him attach it
manually.

You can send an event to the Folder Actions server:

tell application "Folder Actions"
attach action to alias "Macintosh HD:Documents:" using alias "Macintosh HD:System Folder:Scripts:folder Ation Scripts:open - show comments in dialog"
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: 
 >Attaching Folder Action (From: Noa Yissar <email@hidden>)

  • Prev by Date: Attaching Folder Action
  • Next by Date: re: FileMaker Pro Help (multiple versions)
  • Previous by thread: Attaching Folder Action
  • Next by thread: Attaching Folder Action
  • Index(es):
    • Date
    • Thread