hello, i want to use dotool 3 to get the dataset of a point selected. i thought i could adress this by %c but this doesnt work. hope you know something about that. thanks a lot.
That's weird. Please make sure that you have selected a point on the graph after you run "dotool 3". If a point is selected, the Data Display tool should read the dataset name, as well as the x and y values. In this case, %c should work, which means using "%c=" in the script window will display the dataset name.
yes, thats weird. but unfortunately it is the truth. data display shows me the dataset correctly but %c is always the first y dataset in the worksheet and not the one the point corresponds to. with dotool 4 %c is correct but i want to use dotool 3.
Not sure what you are doing wrong but when I double-click it prints the name of the dataset containing the data point. Of course you need to do something different if you want to make use of that name when you close the tool...
def pointproc {%A=%C; %A=}; dotool 3; // open data reader // select a few data points then run following scripts dotool 0; // quit data reader %C=; // return active dataset (usually 1st column) %A=; // return the last selected dataset (not necessarily active)