• 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
Best way to auto rename files SORRY !
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best way to auto rename files SORRY !


  • Subject: Best way to auto rename files SORRY !
  • From: Christian Vinaa <email@hidden>
  • Date: Tue, 18 Feb 2003 20:26:32 +0100

Eudora kinda sent off my email before I was finished with it so here is the full message:


well the subject line says it all;

I have a folder with files that I need to give a new name; or more accurately; I need to expend the file names with the same number; i.e. file "Jones" will be renamed "567 Jones" and file "Smith" into "567 Smith"

whats the best way to do this ?

set newPart to "567"
set name of file "Jones" to newpart & " Jones"
set name of file "Smith" to newpart & " Smith"

will rename the first file

but not the following ones

--
Christian Vinaa

email@hidden

...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
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.

  • Follow-Ups:
    • Re: Best way to auto rename files SORRY !
      • From: Emmanuel <email@hidden>
    • Re: Best way to auto rename files
      • From: Michael Sullivan <email@hidden>
  • Prev by Date: Best way to auto rename files
  • Next by Date: Re: Best way to auto rename files
  • Previous by thread: Re: log?
  • Next by thread: Re: Best way to auto rename files
  • Index(es):
    • Date
    • Thread