• 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
Folder Action script runs on file renaming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Folder Action script runs on file renaming


  • Subject: Folder Action script runs on file renaming
  • From: Rob Lewis <email@hidden>
  • Date: Thu, 6 Dec 2007 13:21:09 -0800

I have a folder action script that runs when items are added to the folder. 

I just discovered that the script also runs when anything already in the folder is renamed. I want to stop this. 

Here's the script: 

on adding folder items to this_folder after receiving these_items

repeat with this_item in these_items
set the item_info to info for this_item


process_stuff(this_item)


end repeat
end adding folder items to
 _______________________________________________
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: Folder Action script runs on file renaming
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Assigning attributes to files in iTunes
  • Next by Date: Re: Problem with reading 4-byte floats from file on Intel
  • Previous by thread: Assigning attributes to files in iTunes
  • Next by thread: Re: Folder Action script runs on file renaming
  • Index(es):
    • Date
    • Thread