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

Re: rename many files ?


  • Subject: Re: rename many files ?
  • From: Jon Pugh <email@hidden>
  • Date: Mon, 17 Feb 2003 08:47:52 -0800

At 2:52 PM +0100 2/17/03, Christian Vinaa wrote:
>set myPart to "2"
>renameFile file "a" of folder "y" to myPart & " a"
>renameFile file "b" of folder "y" to myPart & " b"
>renameFile file "c" of folder "y" to myPart & " c"
>renameFile file "d" of folder "y" to myPart & " d"
>renameFile file "e" of folder "y" to myPart & " e"
>
>(uses Jon's Commands)

You can't use Finder object references with Jon's Commands. You need to use file or string paths.

renameFile "disk:y:a" to (myPart & " a")

Finder references work only in the Finder, just to confuse you.

Jon
_______________________________________________
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:
    • Best way to auto rename files
      • From: Christian Vinaa <email@hidden>
References: 
 >Re: How to get Zero (0) before Month ? (From: Paul Berkowitz <email@hidden>)
 >rename many files ? (From: Christian Vinaa <email@hidden>)

  • Prev by Date: Page breaks in Excel
  • Next by Date: hold until it is finished
  • Previous by thread: rename many files ?
  • Next by thread: Best way to auto rename files
  • Index(es):
    • Date
    • Thread