Fwd: Re: script, do script
Fwd: Re: script, do script
- Subject: Fwd: Re: script, do script
- From: email@hidden (Michael Sullivan)
- Date: Tue, 11 Jun 2002 12:39:14 -0400
- Organization: Society for the Incurably Pompous
<email@hidden> writes:
>
Could someone point me in the direction of some help about the script and
>
do script functions in AppleScript?
>
I have inherited a script that reads...
>
on run
>
do some stuff
>
do script {makefiles}
>
end run
>
script makefiles
>
end makefiles
>
And I'm trying to work out if there's a logical reason why do script
>
requires a list...
>
>
However, as you can probably guess, searching for a relevant document
>
using the word "script" in all the documentation and on line resources I
>
have about AppleSCRIPT is taking ages. (Who puts the command "script" in a
>
scripting language? :-)
...
>
PS. Even though you might have an expaination for the use of a list, I'd
>
still like some reference material as well. Also, the do script command
>
isn't inside a tell statement.
Until you said that, I was going to ask if it was in an Xpress tell
block. Xpress has it's own do script command and it only takes a list
for some reason that isn't clear to me.
Other than an application with that restriction, I can't see why it
would be necessary to enclose the script name in braces like that.
Maybe the scripter did a lot of Xpress scripts and never realized this
wasn't necessary in raw applescript?
Michael
--
Michael Sullivan
Business Card Express of CT Thermographers to the Trade
Cheshire, CT email@hidden
_______________________________________________
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.