Page 1 of 2

Better Names for Open With programs

Posted: Sun Jan 22, 2006 4:00 am
by ckit
Currently XnView uses the filename name for each "Open With" program which I think is stupid....

[OpenWith]
OpenWith_0=C:\Program Files\Windows Media Player\wmplayer.exe
OpenWith_1=C:\Program Files\DivX\DivX Player\DivX Player.exe
OpenWith_2=C:\Program Files\Windows Media Player\mplayerc.exe
OpenWith_3=C:\Program Files\VideoLAN\VLC\vlc.exe
OpenWith_4=C:\Program Files\PhotoFiltre Studio\pf-studio.exe
OpenWith_5=C:\Program Files\IrfanView\i_view32.exe
OpenWith_6=

In XnView, only "wmplayer.exe" is visible and who knows what that is?
Each menu entry needs a label\description that can be changed or deleted for each program.

Technical end result:

[OpenWith]
OpenWith_0=C:\Program Files\Windows Media Player\wmplayer.exe
Name_0=Windows Media Player
OpenWith_1=C:\Program Files\DivX\DivX Player\DivX Player.exe
Name_1=default
OpenWith_2=C:\Program Files\Windows Media Player\mplayerc.exe
Name_2=Media Player Classic
OpenWith_3=C:\Program Files\VideoLAN\VLC\vlc.exe
Name_3=default
OpenWith_4=C:\Program Files\PhotoFiltre Studio\pf-studio.exe
Name_4=default
OpenWith_5=C:\Program Files\IrfanView\i_view32.exe
Name_5=default

For some reason "vlc.exe" shows as "VLC media player" already but "wmplayer.exe" fails to show "Windows media player"

Posted: Sun Jan 22, 2006 8:11 am
by Tommy
menu entry needs a label\description
100% agree with you

Re: Better Names for Open With programs

Posted: Mon Jan 23, 2006 7:54 am
by xnview
Or perhaps i can extract Application name from .exe??

Posted: Mon Jan 23, 2006 8:28 am
by ckit
I thought about that but concluded it would be too slow.

Posted: Mon Jan 23, 2006 8:51 am
by xnview
ckit wrote:I thought about that but concluded it would be too slow.
Perhaps only the first time??

Posted: Mon Jan 23, 2006 8:56 am
by ckit
You mean XnView would store the information in it's INI once it's been read?

Posted: Mon Jan 23, 2006 10:31 am
by xnview
ckit wrote:You mean XnView would store the information in it's INI once it's been read?
Yes,

Posted: Mon Jan 23, 2006 10:54 am
by ckit
Ok, I like the sound of that :)

Posted: Mon Jan 23, 2006 6:46 pm
by helmut
Perhaps a dialog for changing the program name determined when adding a new program would be helpful. Also, there should be a dialog for administrating the "Open with" programs, similar to the bookmarks / favourites.

Posted: Tue Jan 24, 2006 1:17 am
by ckit
helmut wrote:Perhaps a dialog for changing the program name determined when adding a new program would be helpful. Also, there should be a dialog for administrating the "Open with" programs, similar to the bookmarks / favourites.
I support this as well.

Extracting descriptive names might not always be an option

Posted: Sun May 13, 2007 8:32 am
by DawMatt
Hi,

If you try to configure an "Open With" program as a command line script, you would not be able to extract a useful name from the ".exe". As such it would be recommended to allow the descriptive name to be user configurable.

Command line scripts are a common way to kick off Java programs, so this is not as unlikely a requirement as it may first appear.

Thanks,
Matt

Posted: Sun May 13, 2007 9:26 am
by ckit
Nice to see another Aussie :)

Posted: Mon Oct 22, 2007 9:45 am
by riemenschneider
Hi,
I hope this is the right place to add a suggestion to the suggestion:

When you overwork the open-with-dialogue I think it's easy to change it's behaviour concerning file types: It should be possible to select every filetype - not only ".exe". I need that feature for easily adding .bat and .py files to the Open With list without editing the xnview.ini. BTW I find that kind of restriction is not very "xnview-like".
Same topic: http://newsgroup.xnview.com/viewtopic.php?t=10556

best regards,
Riemenschneider

Posted: Mon Jan 21, 2008 7:07 am
by crespowu
It should be possible to select every filetype - not only ".exe"[
Can't agree with you more.

Re: Better Names for Open With programs

Posted: Sat Oct 22, 2011 3:36 am
by deejjjaaaa
Hi,

can we have an option to set the names for OpenWith_ programs ourselves ?...

thank you.

PS:

OpenWith_0=C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Photoshop.exe
OpenWith_1=C:\Program Files\Adobe\Adobe Photoshop CS5 (64 bit)\Photoshop.exe

have the same names in XnView menu :(