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.
_______________________________________________
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to