• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Source Text of Script Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
}


  • Follow-Ups:
    • Re: Source Text of Script Objects
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Forking background processes from "do shell script" call
  • Next by Date: Re: error or terror? (was newbie question2: eof?)
  • Previous by thread: Re: Source Text of Script Objects
  • Next by thread: Re: Source Text of Script Objects
  • Index(es):
    • Date
    • Thread