Re: Newbie question
Re: Newbie question
- Subject: Re: Newbie question
- From: Mr Tea <email@hidden>
- Date: Mon, 12 Feb 2001 18:24:15 +0000
This from Spencer Sunar - dateline 2/12/01 5.55 pm:
>
I need a script to rename files in a folder
>
I.e.
>
>
<filename>-01.jpg renamed to <filename)_200x200.jpg
>
<filename>-02.jpg renamed to <filename)_160x160.jpg
>
<filename>-03.jpg renamed to <filename)_140x140.jpg
>
>
Etc.
>
>
Does any one have a sample script which can do this?
If the name changes you describe are always constant, this is a
straightforward task for AS, which should require very little input from you
once it's set up.
The most efficient solution will depend on the circumstances under which you
want the script to run. You could use an applescript droplet that will
change the names of images in folders dropped onto it, or you could set up a
folder action script that renames the files when they arrive in the folder
that the script is attached to. The second method would allow you to export
directly into this folder from an app like Photoshop or GraphicConverter,
and have the names changed on the fly.
There are several scripts I use for managing/naming/numbering exported image
files. Please provide a little more information about how you would like
your set up to work, and I'll share what I have with you.
Mr Tea
--
Brew of the day: African Blend