I have built a tool with script in the label control dialog box that refer to script in an ogs file and I have saved it in an ogo file. After launching it with 'dotool -w myobject', I can't reach the script in the label control dialog box from outside the tools. If i have an action on the tool it's OK, but if I try to launch the script from the script window with the command myobject.run(), nothing happens. It seems that the tool is not really an object (list o shows nothing) and it cannot be reachable from outside itself. Can you give me some informations about this. Thanks
If your tool were already open and you wanted it to stay open, then you would leave out the first and last lines.
Use the exist() function to find out if myobject is already open. 'exist(myobject)=' will return 7 if it is open and 0 if not. (I think that this usage of exist() was broken in some versions of Origin 6.0.)