Suggestion: Replacable variables for datafile path/name/ext

Have a suggestion for improving DPlot or a question about existing features? Let us know

Moderator: DPlotAdmin

Post Reply
oneto
Posts: 14
Joined: Fri Feb 20, 2004 6:23 am
Location: Grasse, France

Suggestion: Replacable variables for datafile path/name/ext

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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.
Visualize Your Data
support@dplot.com
Post Reply