Page 1 of 1
Command line option: -quit
Posted: Thu Sep 22, 2005 5:07 pm
by Guest
Hi !
I made a WSH-script and will write the command-line-parameters of xnview in this scipt. But i missing a command "-quit"
or "-position 0 0 0 0 " of a simply preview-window ( "-full" is good but a little preview with -quit is very,very good ...

). Is it possible in the future ?
(Sorry for my bad english
)
Re: command line - wish
Posted: Thu Sep 22, 2005 6:28 pm
by xnview
Anonymous wrote:I made a WSH-script and will write the command-line-parameters of xnview in this scipt. But i missing a command "-quit"
or "-position 0 0 0 0 " of a simply preview-window ( "-full" is good but a little preview with -quit is very,very good ...

). Is it possible in the future ?
Could you explain me more, please?
Posted: Fri Sep 23, 2005 12:35 pm
by Guest
Yes !
my worklist ( scriptworklist ) :
- select a sourcefolder ( Shell.BrowseForFolder )
- select a targetfolder ( Shell.BrowseForFolder )
- start of a loop:
-- Xnview opend the 1.picture - in a small window ( for example with "-size or pos 0 0 0 0" ) ; i see it and :
-- Input a slogan or short word about the picture
Note: without -size the Inputbox is under the full picture
-- nconvert is converting the picture whit a few parameters and with the text-parameter nconvert made in it a stamp ( my slogan ) ; targetfile is "flowers_myslogan".jpg
--end of picturepreview ( "-quit" ) , Xnviewpreview must closed
-end loop
...
Do you understand my problem ? I hope so .
Posted: Sat Sep 24, 2005 8:33 am
by helmut
I think I understand what you want: An opened XnView showing an image should be exited after entering some text.
With commnand line options you cannot achieve this. Command line options are always passed when a is started, but you cannot pass command line options to an application that is already running.
There's some possible ways:
= Use extra program
You could use a program that tells the running XnView process to quit/close. I've just searched the web a bit and found some apps, e.g.
-
AppKiller (now Freeware, licences can be found at
Shenandoah Software)
-
Process (Freeware, Command line)
I'm sure there are many more.
= XnView as "Killer"
XnView could be enhanced so that it actually accepts a command line option "-quit" or "-close". The command "xnview -quit" would start a new instance of XnView which would do nothing else than looking for running XnView instances and kill them. The app would then exit itself.
This could work, but I think the above applications for killing specific programs are much more appropriate and flexible.
Posted: Tue Sep 27, 2005 3:19 pm
by Guest
The command "xnview -quit" would start a new instance of XnView which would do nothing else than looking for running XnView instances and kill them.
I understand. But i would'nt so many programs , while we have an licence for xnview by our firma and i can take the script also there .
For my privat work i take now "pictview" . It's an viewer with the commandline "-wt" - an delaytime to quit !
But i'd like xnview ...

cry
Posted: Tue Sep 27, 2005 3:29 pm
by xnview
Anonymous wrote:The command "xnview -quit" would start a new instance of XnView which would do nothing else than looking for running XnView instances and kill them.
I understand. But i would'nt so many programs , while we have an licence for xnview by our firma and i can take the script also there .
For my privat work i take now "pictview" . It's an viewer with the commandline "-wt" - an delaytime to quit !
But i'd like xnview ...

cry
If you have a license, could you contact me by PM
Posted: Tue Sep 27, 2005 3:35 pm
by helmut
Anonymous wrote:For my privat work i take now "pictview" . It's an viewer with the commandline "-wt" - an delaytime to quit !
But i'd like xnview ... cry
Quitting after a specific time is very different (regarding implementation) to quitting an existing program using a command line option.
Would an option "-quitafter <seconds>" be helpful and do what you want?
Posted: Tue Sep 27, 2005 6:44 pm
by Guest

I've been registred user but my account is inactiv ( "Panik" ) , while the administrator is waiting for permission of my parents so i can write in the forum !

I'm 36 years old !
@helmut
the option "-quitafter <seconds>" is good
Posted: Wed Sep 28, 2005 8:01 am
by xnview
Anonymous wrote:
the option "-quitafter <seconds>" is good
So you would like a "-quitafter" to quit XnView after some seconds?
Posted: Wed Sep 28, 2005 6:25 pm
by Guest
Yes - please !