• 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 to rename files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Folder action to rename files


  • Subject: Re: Folder action to rename files
  • From: pete boardman <email@hidden>
  • Date: Thu, 25 Aug 2005 19:37:22 +0100

On 25 Aug 2005, at 19:21, Mark J. Reed wrote:

On 8/25/05, pete boardman <email@hidden> wrote:

Thanks! I don't really understand what's going on


Yvan's guess is that the Folder Action\ manager doesn't properly understand the concept of renaming files. Imagine that you're in charge of running the Folder Actions yourself: you have a Finder window open on some folder while someone else is doing stuff to that folder remotely When they drag a new file into the folder, it magically appears in your window, and this is your cue to run the Folder Action script on that new file. Then, that file magically disappears, and in its place a different file appears - so you run the Folder Action script on that new file. Unfortunately, it's not really a new file, it's just the old file with a different name, but you don't know that. So every time you trigger the Folder Action, the file gets a date appended, which makes it look like a new file, which triggers the Folder Action . . .

In fact, I found that a rename in the Finder triggers the Adding… folder action too! I didn't realise that, otherwise I wouldn't have tried renaming in such a simple-minded way.


Thanks - it's becoming clearer, as people explain it to me (think "hammer", "nail", and "old head"). :-)!

Pete




_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Folder action to rename files (From: pete boardman <email@hidden>)
 >Re: Folder action to rename files (From: Yvan KOENIG <email@hidden>)
 >Re: Folder action to rename files (From: pete boardman <email@hidden>)
 >Re: Folder action to rename files (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Folder action to rename files
  • Next by Date: Re: finding out the name of the script file
  • Previous by thread: Re: Folder action to rename files
  • Next by thread: Re: Folder action to rename files
  • Index(es):
    • Date
    • Thread