• 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: Writing large scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing large scripts


  • Subject: Re: Writing large scripts
  • From: email@hidden
  • Date: Thu, 10 May 2001 11:53:48 -0700

Before I go on to my suggestion just a quick warning... in the past there
have been memory leaks associated with load script and run script. If you
have a large and complex script that repeatedly calls a loaded script or
loads several different scripts you may encounter memory problems,
especially on older systems. I haven't tested on 9 or 9.1.

My suggestion is to try Hypercard, particularly if you've used it before
you learned AppleScript.

Although in hyperCard the scripts themselves have an even smaller maximum
size than the script editor (something like 12k, I think) In Hypercard you
have the ability to create any number of objects (buttons,fields) that can
store your scripts. The nice thing about using Hypercard is that you get a
relatively flexible interface with a virtually unlimited number of objects
to store data and scripts, plus you get inheritence for free so you can
avoid the memory leaks associated with load script and run script.

I have one large project that I've been using for years now that handles
hundreds of production tasks and uses Hypercard for the user inferface and
for storing scripts.

It's really a remarkable tool. It's a shame Apple isn't planning to
support it.

ES


  • Follow-Ups:
    • Re: Writing large scripts
      • From: Jan Erik Moström <email@hidden>
  • Prev by Date: Re: CMYK in QuarkXpress
  • Next by Date: Network Assistant not scriptable??
  • Previous by thread: Re: Writing large scripts
  • Next by thread: Re: Writing large scripts
  • Index(es):
    • Date
    • Thread