Where do you put your scripts?
dsc at swcp.com
Fri May 3 14:56:00 EDT 2002
On Friday, May 3, 2002, at 12:40 PM, Rob Cozens wrote:
> 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
Uh. I think I see. The doc says (in About... messages and the
message path), " Messages sent to a substack are passed next to the
substack's main stack."
I have been putting library-like scripts in groups. I'd like to
consider library stacks. Would these be substacks if I want to
include them in the same file? Or am I looking that the
Would the main stack be in the message path twice? That is, both
before the library stacks and after?
I appreciate everybody's comments. Concerning controls and groups
with scripts... Should reusable controls and groups go in the
Revolution object library? Should those associated with a library
stack be put on a card in that stack for easy copying?
More information about the use-livecode