• 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: renaming files in Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: renaming files in Finder


  • Subject: Re: renaming files in Finder
  • From: Andy Wylie <email@hidden>
  • Date: Wed, 06 Feb 2002 03:15:26 +1300

on 5/2/02 11:56 AM, Deivy Petrescu at email@hidden wrote:

>>> on run
>>> set myFolder to choose folder
>>> --asks you what folder
>>> tell application "Finder"
>>> repeat with x in every file of myFolder
>>> set name of x to ("temp " & name of x)
>>> end repeat
>>> --adds "temp" to all file names in myFolder
>>> end tell
>>> end run
>>
>> Easier, perhaps, but no more effective on my OS 10.1.2 with AS 1.8.2b.
>> The Finder likes it better if the files in the folder are put into a
>> variable first...
>
> Actually, I think it likes only if the files are in a variable. It
> does not work any other way.
> And I am talking about AS 1.8.1
>

only feed it stuff smaller than it's head...

repeat with x in (every file of myFolder)

_____________________________ Andy


References: 
 >Re: renaming files in Finder (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: File extensions & Displayed names
  • Next by Date: Re: make command
  • Previous by thread: Re: renaming files in Finder
  • Next by thread: More problems with File extensions & Displayed names
  • Index(es):
    • Date
    • Thread