Better Names for Open With programs

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, helmut, xnview

ckit
XnThusiast
Posts: 2557
Joined: Tue Feb 17, 2004 1:11 am
Location: Cabarlah, Australia

Better Names for Open With programs

Post 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"
Last edited by ckit on Sun May 13, 2007 9:29 am, edited 2 times in total.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz
Windows 11 Pro x64 23H2, PowerToys and Wintoys
Tommy
Posts: 127
Joined: Sat Dec 03, 2005 8:59 am

Post by Tommy »

menu entry needs a label\description
100% agree with you
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Better Names for Open With programs

Post by xnview »

Or perhaps i can extract Application name from .exe??
Pierre.
ckit
XnThusiast
Posts: 2557
Joined: Tue Feb 17, 2004 1:11 am
Location: Cabarlah, Australia

Post by ckit »

I thought about that but concluded it would be too slow.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz
Windows 11 Pro x64 23H2, PowerToys and Wintoys
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

ckit wrote:I thought about that but concluded it would be too slow.
Perhaps only the first time??
Pierre.
ckit
XnThusiast
Posts: 2557
Joined: Tue Feb 17, 2004 1:11 am
Location: Cabarlah, Australia

Post by ckit »

You mean XnView would store the information in it's INI once it's been read?
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz
Windows 11 Pro x64 23H2, PowerToys and Wintoys
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

ckit wrote:You mean XnView would store the information in it's INI once it's been read?
Yes,
Pierre.
ckit
XnThusiast
Posts: 2557
Joined: Tue Feb 17, 2004 1:11 am
Location: Cabarlah, Australia

Post by ckit »

Ok, I like the sound of that :)
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz
Windows 11 Pro x64 23H2, PowerToys and Wintoys
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post 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.
ckit
XnThusiast
Posts: 2557
Joined: Tue Feb 17, 2004 1:11 am
Location: Cabarlah, Australia

Post 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.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz
Windows 11 Pro x64 23H2, PowerToys and Wintoys
DawMatt
Posts: 6
Joined: Sun May 13, 2007 4:21 am

Extracting descriptive names might not always be an option

Post 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
ckit
XnThusiast
Posts: 2557
Joined: Tue Feb 17, 2004 1:11 am
Location: Cabarlah, Australia

Post by ckit »

Nice to see another Aussie :)
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz
Windows 11 Pro x64 23H2, PowerToys and Wintoys
riemenschneider
Posts: 8
Joined: Tue Nov 28, 2006 12:46 am

Post 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
crespowu

Post by crespowu »

It should be possible to select every filetype - not only ".exe"[
Can't agree with you more.
deejjjaaaa
Posts: 24
Joined: Tue Dec 23, 2008 8:48 pm

Re: Better Names for Open With programs

Post 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 :(
Post Reply