Where do you put your scripts?

Rob Cozens rcozens at pon.net
Fri May 3 13:45:00 EDT 2002


>Where do you put your scripts?

Dar,

The crux of the issue is what objects one wants to respond to a 
handler, and what objects one doesn't want to respond that handler.

A nuance I neglected to mention the first time around:

If one creates a library stack as I described in my previous post, 
and that stack includes a handler that sets up the user interface on 
openStack, place the openStack handler in the script of the first 
card (if the first card is always the first card opened) or in the 
script of a group that appears on all cards.  If you leave the 
openStack handler in the stack script, it will run every time any 
stack that passes openStack is opened while the library is in use.
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the use-livecode mailing list