Page 1 of 1

Filename of Auto-filename in NON-Overwrite Mode

Posted: Fri Aug 05, 2011 5:04 pm
by UKoenig
Hello,

is there a way, to know the Filename is used in NON-overwrite-mode ?
Because I want to show a Preview of the created Image, I have to know the Name.
In overwrite-mode, there is no Problem ( just 1 Name ),
but using NON-overwrite-mode, I getting Filenames like Image1_1.jpg, Image1_2.jpg ...
The counter detects the last used number.

Sample :
cOldfile = Image1.jpg
cNewfile := _Image1.jpg

the next created Files would have Names : _Image1_1.jpg, _Image1_2.jpg ......

xBase-Syntax :
cScript := '-quiet -o ' + cNewfile + ' -swirl ' + ALLTRIM(STR(nSwirl)) + ' -overwrite ' + cOldfile

Is there a way, to know the new defined Filename ?

Best Regards
Uwe :?:

Re: Filename of Auto-filename in NON-Overwrite Mode

Posted: Mon Aug 08, 2011 9:01 am
by xnview
UKoenig wrote: Is there a way, to know the new defined Filename ?
It seems that you know already how to find new filename??