Seems a bit silly...

Erik Hansen erikhans08 at
Thu Oct 7 22:44:50 CDT 2004

--- Scott Rossi <scott at> wrote:

> Are you trying to limit preOpenStack messages
> to the main stack only?  If
> so, move the preOpenStack handler to the script
> of the first card of the
> main stack, instead of the stack itself.  Then
> you shouldn't need to worry
> about checking the target at all.

what if you are constantly adding, deleting
and shuffling cards?  how about setting the
script of each new card to:

on preOpenStack
  if (the number of this card = 1) -- if needed
  then doOpenStackThings
end preOpenStack

doOpenStackThings resides in the stack script. 
if this works i can take my startup handler out
that button script!
> Scott Rossi
> Creative Director
> Tactile Media, Development & Design
> -----
> E: scott at
> W:

erik at

Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard. 

More information about the use-livecode mailing list