Page 1 of 1

Using more than one replaceable param in FileSaveAs

Posted: Sun Feb 16, 2014 2:55 pm
by mlujan
Hello all, I'm trying to save in a macro and would like the file to be named using a dash between |TITLE1| and |TITLE2|.

I've been trying this

FileSaveAs(1,"|TITLE1|-|TITLE2|.GRF")

But I get an error that I can't save due to invalid path
specification because only the |TITLE1| parameter is
being translated.

Is this possible? Or is only one parameter allowed when
saving/naming the file?

Thanks for any help.

Posted: Sun Feb 16, 2014 8:10 pm
by DPlotAdmin
Or is only one parameter allowed
Yes, but I can't think of a good reason for that limitation. I'll try to get this corrected in the next release.

Posted: Mon Feb 17, 2014 9:18 am
by mlujan
Excellent! Thank so very much :)