I'm having an issue with scripting a data filter. I want to create a script where I make a data filter which excludes/hides some data, runs a graphing function, unexcludes/unhides all data, then closes the filter window.
What I have so far is,
obj = Current Data Table() << Data Filter( Add Filter( /* Filter Conditions */ ));
/* Graphing Function */
obj << Clear;
wdw = window("Data Filter <File Name>");
wdw << closewindow();
This is a working solution but only while the file name is exactly as created. Is there a way to generalize the file name? Alternately, another method of closing the data filter window would also fulfil my needs.