• 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: Saving handler-defined scripts without source code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Saving handler-defined scripts without source code (From: "Arthur J. Knapp" <email@hidden>)

  • Prev by Date: Re: Saving handler-defined scripts without source code
  • Next by Date: Re: Getting screen resolution the Safari way
  • Previous by thread: Re: Saving handler-defined scripts without source code
  • Next by thread: Re: Saving handler-defined scripts without source code
  • Index(es):
    • Date
    • Thread