I'm trying to refer to an embedded script in an HDA using an hscript callback.
opdef:.?foo.cmd
I want to pass on the full path to this node and the value of the widget that is calling the script:
opdef:.?foo.cmd `opfullpath(".")` `ch("parm")`
… this kind of works. If I go from entry 0->1, it works, but if I go from entry 1->2 it does not (script does not even get called according to my debug statements). If I go from 0->2 it gives me the right path to object but the wrong parm value.
I think there is some kind of fancy syntax built into the opdef expression that passes on both the full path and the parm value, but for the life of me I can't find it.
help?
Sean