• 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: Folder action -- attaching script to a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Folder action -- attaching script to a folder


  • Subject: RE: Folder action -- attaching script to a folder
  • From: "Destrebecq, Olivier" <email@hidden>
  • Date: Fri, 1 Jun 2001 10:43:17 -0500

Look in the scripting addition Folder action that is where you have the
definition of the events

adding folder items to: Called after new items have been added to a folder,
but only when the folder's window is open adding folder items to alias -- Folder receiving the new items after receiving list of alias -- a list of the tems the folder
received


you must start your script with something like:
on adding folder items to startup disk after receiving those_item --those item is the list of file end adding folder items to

> ----------
> From: Michael Turner
> Sent: Friday, June 1, 2001 9:22
> To: email@hidden
> Subject: Folder action -- attaching script to a folder
>
> Hello All,
>
> Dumb question, but OS 9 is new to me... How do you attach a script to a
> folder? I want a folder action to move each screen capture as I make them,
> and I plan to make a bunch.
>
> --example script--
> tell application "Finder"
> activate
> select file "Picture 1" of startup disk
> move selection to folder "captured images"
> end tell
> --example script--
>
> I would rename them too, but I don't have a problem with that part.
>
> Thanks!
>
> /Michael
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users


  • Prev by Date: Re: Folder action -- attaching script to a folder
  • Next by Date: Re: Folder action -- attaching script to a folder
  • Previous by thread: Re: Folder action -- attaching script to a folder
  • Next by thread: Re: Folder action -- attaching script to a folder
  • Index(es):
    • Date
    • Thread