Open all non image files in associated program
Moderators: XnTriq, helmut, xnview
-
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
Open all non image files in associated program
In the browser - Open all non image files in associated program after double click on file or with Enter (as option maybe).
-
- XnThusiast
- Posts: 2577
- Joined: Tue Feb 17, 2004 1:11 am
- Location: QLD, Australia
-
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
I found this in another thread:
xnview wrote:Yes for 1.81Dreamer wrote:When I press "Enter" key on non image file (e.g. .txt), warning dialog box is shown "Error opening the file <text.txt>" (?). But when I use "Open" in context menu, file is opened in Notepad.
Would be possible (probably not in 1.80) to open non image files when Enter is pressed?
-
- Posts: 13
- Joined: Sun Apr 10, 2005 4:45 pm
-
- Author of XnView
- Posts: 45212
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Open all non image files in associated program
So even video/audio/text files?Dreamer wrote:In the browser - Open all non image files in associated program after double click on file or with Enter (as option maybe).
Pierre.
-
- Posts: 786
- Joined: Wed Feb 02, 2005 2:30 pm
- Location: Glow
Re: Open all non image files in associated program
I think so, but only when XnView is set not to view those file types.xnview wrote:So even video/audio/text files?
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
-
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
Re: Open all non image files in associated program
Yes, but those files should be depending on other option(s) in xnview - "use external media player"... maybe this option should be changed then, since it would be confusing.xnview wrote:So even video/audio/text files?Dreamer wrote:In the browser - Open all non image files in associated program after double click on file or with Enter (as option maybe).
I suggest these new options:
- open all non image files in associated program (after double click on file or with Enter)
- except: [x] - video files / [x] - audio files / [x] - text files
or:
- except: [avi;mp3;txt ] (with ability to add any extension(s))
What do you think, any suggestion(s)?
-
- Author of XnView
- Posts: 45212
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Open all non image files in associated program
Does everyone agree?Dreamer wrote:I suggest these new options:
- open all non image files in associated program (after double click on file or with Enter)
- except: [x] - video files / [x] - audio files / [x] - text files
Pierre.
-
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
Re: Open all non image files in associated program
The problem is that the second option doesn't make sense if the first option is disabled, so we must find another solution...xnview wrote:Does everyone agree?Dreamer wrote:I suggest these new options:
- open all non image files in associated program (after double click on file or with Enter)
- except: [x] - video files / [x] - audio files / [x] - text files

-
- XnThusiast
- Posts: 4441
- Joined: Sun Oct 17, 2004 4:57 am
- Location: Bordeaux, France
Exclude system in INI


• What about a variable INI entry with exclusion ? I mean, for instance :The problem is that the second option doesn't make sense if the first option is disabled, so we must find another solution…
where the extensions set at the right side of the vertical bar (pipe) are excluded - so, not open in the associated program.OpenElseInAssociatedProg = *.*|*.txt *.mpeg *.rmi …
- In this way -very much used in some programs like Total Commander- only users having an issue with such features could add that entry, and configure it following their needs…
- This avoids to complicate the Options pages, and IMHO, such optional extra entries might be used in XnView, I wonder that they don't exist, at least officially (?) …

Claude
Clo
Last edited by Clo on Fri Aug 26, 2005 3:21 pm, edited 2 times in total.
Old user ON SELECTIVE STRIKE till further notice •
-
- Posts: 83
- Joined: Thu May 26, 2005 5:44 am
Re: Open all non image files in associated program
If it isn't related to images, leave it alone. More code means more bloat and likely more bugs.Dreamer wrote:In the browser - Open all non image files in associated program after double click on file or with Enter (as option maybe).
-
- Author of XnView
- Posts: 45212
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Open all non image files in associated program
Perhaps only one option "open all non image files in associated program (after double click on file or with Enter)" is needed, too complicated else...Dreamer wrote:The problem is that the second option doesn't make sense if the first option is disabled, so we must find another solution...xnview wrote:Does everyone agree?Dreamer wrote:I suggest these new options:
- open all non image files in associated program (after double click on file or with Enter)
- except: [x] - video files / [x] - audio files / [x] - text files
Pierre.
-
- XnThusiast
- Posts: 4441
- Joined: Sun Oct 17, 2004 4:57 am
- Location: Bordeaux, France
Syntax---


• Does the syntax I showed above work in the INI here ? That could do the trick. Then, no need to change the option dialogue(s) anyway…
- Adding some extra-entries in the INI by hand if needed is not a big deal, and could solve many minor issues easily…
- In Total Commander, we have a huge topic in the docs about the INI entries; there are listed / explained as well the entries set by the Options as those which can be added by hand when needed…
- We miss such a doc in XnView, the same for the internal commands; I could establish such docs whether you'ld give me the bases…


Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
-
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
Re: Open all non image files in associated program
Yes, but there is already an option "Use external media player" in xnview, so it should be clear to user what option has priority.xnview wrote:Perhaps only one option "open all non image files in associated program (after double click on file or with Enter)" is needed, too complicated else...
When "open all non image files in associated program" option would be enabled and "Use external media player" option disabled, audio/video files would be opened in xnview or in external player?
I think there should be a posibility to play/open audio/video files in xnview and other files in associated program.
Maybe...
"Open all files un-associated in xnview in associated program (after double click on file or with Enter)"