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

Re: Renaming Files


  • Subject: Re: Renaming Files
  • From: Emmanuel <email@hidden>
  • Date: Fri, 27 Jul 2001 13:43:40 +0200

At 7:06 +0200 27/07/01, monk wrote:
>
>-- 7/26/01 09:36 pm: email@hidden said:
>
>> I have what I hope is a simple question:
>>
>> I want to be able to take SimpleText pictures and convert their file
>> names to include a suffix (.PICT, .GIF, .JPEG) so they can be readily
>> uploaded for use in a web page. I am trying to figure out how I can
>> do the entire folder in one script. So far I am not having much
>> luck. Any ideas?
>>
>here:
>
><script>
>-- ADD PREFIX/SUFFIX TO FILES
>-- )1998 Sal Soghoian, Apple Computer
>
>tell application "finder"

[...]

Thanks to Sal for this script.

Note that it will work only on English-speaking OS's.

To make it work internationally, you should insert the following line (or a
similar one) where suitable after each "display dialog ... with buttons
{"Cancel", ...}":

--------------------------------
if button_pressed is "Cancel" then error number -128
--------------------------------

Emmanuel


  • Follow-Ups:
    • Re: Renaming Files
      • From: Jon Pugh <email@hidden>
References: 
 >Renaming Files (From: "M. H. Griffiths" <email@hidden>)
 >Re: Renaming Files (From: monk <email@hidden>)

  • Prev by Date: Re: lists as parameters between two scripts
  • Next by Date: Re: Naming aliases (was "Newbie question here...")
  • Previous by thread: Re: Renaming Files
  • Next by thread: Re: Renaming Files
  • Index(es):
    • Date
    • Thread