Re: Streamlining a script using the "Record" class
Re: Streamlining a script using the "Record" class
- Subject: Re: Streamlining a script using the "Record" class
- From: Jason Bourque <email@hidden>
- Date: Sun, 25 Nov 2001 13:25:38 -0500
Don9t reinvent the wheel look at
http://www3.sympatico.ca/victor.yee/
RenameToWindows v1.2
7 times the length of your script.
Jason Bourque
On 11/21/01 1:36 PM, "Eric Schult" <email@hidden> wrote:
>
I'm trying to demonstrate to a PC-centric audience how Applescript can
>
automate a task where Windows cannot. I've written an example script (below)
>
that checks the file type of every file in a folder and appends an
>
appropriate Windows suffix to the file name.
>
>
I know I could do this simpler by keeping the file types and related
>
suffixes in a record, but haven't worked much with the record class. I don't
>
want to scare folks away from learning this if I can help it. Can anybody
>
lend a hand with this or other simplification suggestions?
>
>
Any help greatly appreciated.
>
>
>
WES