Page 1 of 1

User defined Convert buttons

Posted: Fri Apr 16, 2004 4:54 am
by Louix Chazique
I would love to be able to have user installed buttons on the toolbar that perform convert features. For example, rather than having to call up convert and then load a script and then specify a destination folder and then enter file options, I would be like to be able to select the files and drag them onto the user button and presto...it's done. :D

Posted: Sun Apr 18, 2004 2:58 pm
by crazytb
This will be useful, although may be a bit difficult to implement.

Your idea remembers me the Opera browser, which allow users to create custom buttons in easy way. See some info at: http://nontroppo.org/wiki/CustomButtons

There something that isn't exactly what you want, but may be useful to know. The script file is a simple command line to be passed to nconvert program. You may want to convert this to a BAT (or sh) file and associate into windows explorer (at context menu, or something).

Posted: Sun Apr 18, 2004 8:07 pm
by helmut
Think the idea is good and would make XnView even more flexible.

The tooltip of the toolbar buttons for conversion could display the conversion command/options or a even better a user-defined comment.

Posted: Mon Apr 19, 2004 8:27 am
by crazytb
helmut wrote:The tooltip of the toolbar buttons for conversion could display the conversion command/options or a even better a user-defined comment.
Opera button syntax:
commands,parameters,more paramenters (for some commands),custom caption,custom icon

Where commands is from a list of built-in commands. Commands can be combined, to be performed sequentially. There is also an "OR" of commands (if first is availble, run it, else, run next command availble). AllActions page explains it.

This is only an idea about how another software works, and it is a simple way of doing it.

BTW, I think it could be useful to have a minimal IF support in custom XnView commands (if this will be implemented). It will be useful at commands like: if(landscape) then rotate; else do nothing; endif; resize, etc.[/url]