Script Editor problems

Brian Yennie briany at qldlearning.com
Thu Nov 27 06:06:16 CST 2008


What happens if you set the defaultStack explicitly in your script?  
That might convince MetaCard to see your stack as "this stack" instead  
of the script editor.
i.e.

set the defaultStack to "myStack"
put the short name of this stack into s_name

=> does this return "myStack" when debugging?

> Hi friends,
>
> does someone also experience this strageness?
>
> I cannot debug script that contain "this" of any kind!?
> Like in this little example:
>
> on mouseUp
> get 222
> put the short name of this stack into s_name
> ## -> "Script Editor 1" in Variable Watcher
>
> put the name of this cd into c_name
> ## -> card "Editor card"
>
> get fld "field in original stack"
> ## Error: can't find object
>
> end mouseUp
>
> Any hints are very welcome.


More information about the metacard mailing list