• 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: Works only once (renaming files)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Works only once (renaming files)


  • Subject: RE: Works only once (renaming files)
  • From: email@hidden
  • Date: Mon, 17 Jun 2002 23:50:49 EDT

Dear Kerry,

I ran into this problem when I first started renaming files in scripts.
The culprit? Having already renamed the files (file1.jpg, file2.jpg,
file3.jpg, etc), after adding some additional files (let's say ABC.jpg), the
attempt to rename a file (in this case ABC.jpg) into a name already consumed
by another (file1.jpg) caused it to not work. Renaming all the files into a
second name (temp1.jpg, temp2.jpg, etc) first, and then naming them back into
the desired naming convention cleared the problem right up. At least under AS
1.6... under 1.7, I never did beat the problem, choosing to downgrade back to
1.6 instead for compatibility reasons.

Best Wishes
=-= Marc Glasgow
_______________________________________________
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.

  • Prev by Date: Re: Events that halt system shutdown
  • Next by Date: RE: events that halt system shutdown.
  • Previous by thread: Re: Events that halt system shutdown
  • Next by thread: Interesting behaviour
  • Index(es):
    • Date
    • Thread