Page 1 of 1

Suggestion: Replacable variables for datafile path/name/ext

Posted: Fri Aug 12, 2005 7:50 am
by oneto
Hello David,
I would like from a macro to retrieve the elements of the datafile used, in order to save the plot obtained after some processing reusing elements of the original filename. For example, if I open a file path:\name.ext
and generate a FFT, I would like to save the FFT plot under
path:\name_FFT.grf.
May be replaceable variables like |PATH|, |FILENAME| and |EXT| should not be too difficult to implement???
Thanks a lot in advance,
Jean-Louis

Posted: Fri Aug 12, 2005 5:08 pm
by DPlotAdmin
In macros only (as opposed to adding this in a general way for other applications using DDE w/ DPlot), this is easily doable. Thanks for the suggestion.