Re: Saving handler-defined scripts without source code
Re: Saving handler-defined scripts without source code
- Subject: Re: Saving handler-defined scripts without source code
- From: Steven Angier <email@hidden>
- Date: Sat, 11 Jan 2003 17:05:28 +1100
On 11/1/03 9:23 AM, "Arthur J. Knapp" <email@hidden> wrote:
>
> Does anyone know how to save a handler-defined script so that its source
>
> code is not stored in the file? I have several rather large objects wrapped
>
> in constructor functions which tip the scales at around 100 KB when they
>
> should only be around 20 KB.
>
>
The great Richard 23, in a rare on-list appearance last year, showed us
>
how to do this very thing:
>
>
<http://lists.apple.com/mhonarc/applescript-users/msg31751.html>
Thanks for digging this up, Arthur -- but I think mine is a different
problem. In my example the file bloat is not due to the handler-contained
script's parent scope being stored, but to the actual source code of the
handler-contained script being stored. I guess that the compiler doesn't dig
more than one level down when generating run-only code.
Thanks, anyway.
Steven Angier
Macscript.com
_______________________________________________
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.