Re: Source Text of Script Objects
Re: Source Text of Script Objects
- Subject: Re: Source Text of Script Objects
- From: Arthur J Knapp <email@hidden>
- Date: Mon, 31 Dec 2001 13:13:13 -0500
>
Date: Sun, 30 Dec 2001 11:07:06 +0000
>
From: has <email@hidden>
>
Subject: Re: Source Text of Script Objects
A week off, and I feel great... :)
>
Paul Berkowitz wrote:
>
>
> Does anyone know how to get the source text of a script object - in
>
> applescript?
>
>
Jon's Commands has a built-in coercion. Alternatively you could script
>
something like Smile to get it. I'm not aware of any vanilla method,
>
unfortunately.
Can someone confirm that this is truely vanilla:
script theScript
property HelloWorld : "Hello World"
on TestIt()
1 + 1
end TestIt
"foo" & "bar"
end script
string {theScript}
{ Arthur J. Knapp, of <
http://www.STELLARViSIONs.com>
<
mailto:email@hidden>
try
<
http://homepage.mac.com/kshook/applescript.html>
on error number -128
end try
}