Re: case and function names conventions
Re: case and function names conventions
- Subject: Re: case and function names conventions
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 08 Oct 2003 22:49:22 -0700
On 10/8/03 9:02 PM, "Rua Haszard Morris" <email@hidden> wrote:
>
I have a curious (fairly cosmetic problem): I have two files each defining
>
script objects (used as classes throughout other code). Each is a script
>
definition wrapped in a to make definition, i.e.:
>
>
--file Bus--
>
to makeBusWheel
>
script BusWheel
>
...
>
end script
>
end makeBus
>
>
--file BusDriver--
>
to MakeBusDriver
>
script BusDriver
>
...
>
end script
>
end makeBus
>
>
Note that the make is capitalised in only one of the files. I want to make
>
this consistent i.e. all "makeXxxXxx" OR all all "MakeXxxXxx", but every
>
time I rename the function, the case goes back to how it was when the file
>
is saved!
Save the unwanted version's script as text. Quit your script editor. Launch
the script editor again. Make the capitalization change so they're both the
same and the way you want it. Now compile and save as script, and it should
be OK. I think.
You need to be in a new session of your script editor where it hasn't
already "learned" the way you had it previously: the first compilation in a
session rules.
--
Paul Berkowitz
_______________________________________________
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.