Thanks Martin. I tried that, but must be missing something. When I try to actually use the variable, my system seems to ignore it. I'm guessing I have something wrong in syntax, or general workflow. I've created the variable in tag at the top panel level. Then, on a button on the panel, i've added a RossTalk TAKE command (for an XPression GFX), and instead of manually entering a number for Layer ID, I've tried to use my declared variable (layerNum). Ive tried layerNum as it is, in [ ] brackets, ( ), " ", ' ', [' '], etc., but the system always ignores my variable. still not sure what I've got wrong. Any ideas? Here is my current button code (also, not getting results from my debug trace attempt) :
<button bottom="762" buttontype="push" id="5001" left="0" name="ASPP $100" right="1148" top="0">
<ogscript>ogscript.debug ('My current layer number is: '+layerNum);</ogscript>
<task tasktype="rosstalk">rosstalk.sendMessage('155.241. 240.198', 7788, 'TAKE 4001:Framebuffer 1:layerNum');</task>
</button>
#DashBoard