Hi,
If you are adding script to the last page of the import wizard, you can use code such as below:
// all variables are put in page.info and that gets
// over written each time a file is imported
// get the desired variable that you extracted from header and save
string graphname$ = page.info.user.variables.runtype$;
// use whatever code to make your graph such as...
win -t p;
// I am assuming your graph page is now active
// Set the label which will be then setting the long name
page.label$ = %(graphname$);
// Show both short name and long name
page.title = 3;
There is also an x-function named impInfo which can be used to get a tree with all the import info. That can be used in your script if your script for renaming the graph is outside of the filter. Currently from inside the filter impInfo does not work as the script seems to be executing before the binary storage is created with the import information. We will look into this.
Easwar
OriginLab