Why all the empty opencard handlers?

Jeanne A. E. DeVoto jeanne at runrev.com
Fri Dec 14 22:18:01 EST 2001


At 9:01 AM -0800 12/14/2001, David Epstein wrote:
>Why does Metacard place an empty "on opencard / end opencard" handler
>everywhere, and how can I get it to stop?  This gets placed in the script of
>a newly created stack, and in the script of a newly created card, and in the
>script of a newly created background.  And if I delete it it returns!  Only
>if I delete it and type something else in the script does the "opencard"
>business stay deleted.

The openCard skeleton is put into the script only when the script editor
opens. If you haven't opened the script, it's not there. Or in other words,
if you just create a card, its script will be empty.

(You can confirm this by creating a card and then typing
   the script of this card is empty
into the message box. It will return true, unless you've put something into
the script yourself.)

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!





More information about the metacard mailing list