Hi, I'm using XnView 2.13.
To do a special rename operation on my pictures, I wrote a litte java program (runnable jar) and added it to XnView (Tools->Open With->Add Program...).
If I select objects in the viewer and press ALT+1, my java progam starts and XnView passes the names of the selected objects to it, but with two limitations:
1) only a maximum of 20 filenames are passed.
2) no directory names are passed (if I select only directories, the program doesn't start all all).
You can test this behaviour easily with the following windows batch file:
echo off
echo %*
pause
Is there a chance to change this behaviour for added programs?
Thank you.
run external programs
Moderators: helmut, XnTriq, xnview
Re: run external programs
you can change in xnview.ini [General]/OpenWithMaxyasakamarkv wrote: 1) only a maximum of 20 filenames are passed.
yes currently only files2) no directory names are passed (if I select only directories, the program doesn't start all all).
Pierre.
-
- Posts: 2
- Joined: Fri Jan 31, 2014 10:02 am
Re: run external programs
I have changed my xnview.ini:
[Start]
OpenWithMax=999
and it works.
Thanks.
[Start]
OpenWithMax=999
and it works.
Thanks.