Re: Getting source text of a compiled script
Re: Getting source text of a compiled script
- Subject: Re: Getting source text of a compiled script
- From: kai <email@hidden>
- Date: Sat, 13 Aug 2005 01:13:56 +0100
On 12 Aug 2005, at 22:47, has wrote:
I know Jon's Commands for OS 9 installs a script-to-text coercion
so try the OS X version; it may well install this coercion as well.
By coincidence, I was about to reply to this thread myself when I saw
your message, has. I can confirm that the coercion is indeed
available in Jon's Commands X - which can be downloaded from:
http://www.seanet.com/~jonpugh/
With Jon's Commands installed, it's possible to extract the text from
a script file (compiled script, applet or droplet) with a statement
such as:
--------------
set scriptText to (load script (choose file)) as string
--------------
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden