How can i save with the filename attached to my .png graph? I want my script to take the filename of the graph I am opening and save it in the folder.
<<save picture ("C:\...path..\ex1.png","png"); This is what I have right now.
Instead of ex1, is there a way to get the filename automatically?
If you have opened your data table using the variable "dt" as the handle pointing to the data table, then you can get the name of the data table with the following:
filename = dt << get name;
This, and all other items you can ask for from the data table is documented at:
Help==>Scripting Index==>Data Table