• 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: Mon, 14 May 2001 10:52:53 -0700

>>>>My main problem isn't really with the script size (I haven't counted
but I don't think I have many scripts with more than 500 lines). My problem
has been how to organize them (I've always liked the organization abilities
of languages like Modula-2, Java, Ada, etc).


Yes, that's always a problem. You may want to look at Script Base from
Main Event.

It's a persisent database that allows you to store scripts (as well as
nearly anything else) as database objects in labeled "drawers."

Once you get the hang of it it's pretty easy to bring order to chaos.

I've also heard that Late Night Software has some system for using
includes, but I don't know how portable it is.

Anyway, I've started to reorganize things so it becomes easier to reuse and
maintain my scripts.

>>>>I did a lot of Hypercard stuff 3-5 years ago but lately I haven't dared
to do anything since I didn't know if would work in the next OS release.

Yea that's really a shame. IMHO Hypercard offers the most flexible and
easiest to use front-end for appleScript. It's easy to organize large
projects between Stack, Background, Card, button and field scripts and you
get inheritence for free.

ES


  • Prev by Date: Re: Rogue list?
  • Next by Date: How can I access to font type in a Quark text box?
  • Previous by thread: Re: Writing large scripts
  • Next by thread: Re: Writing large scripts
  • Index(es):
    • Date
    • Thread