I have one Graph with 5 layers in my opj-file. I add some workshets by script (it's execute from my application). How can I change active window? I need to set Graph in active status always.
Save the name of the graph before you create the worksheet and reactivate afterwards. These are the LabTalk commands...
%W=%H; // This saves the name of the active (graph) window as %W // Now create wks with your current commands (not necessary to hide wks) win -a %W; // This activates %W