Open all non image files in associated program

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Open all non image files in associated program

Post by Dreamer »

In the browser - Open all non image files in associated program after double click on file or with Enter (as option maybe).
ckit
XnThusiast
Posts: 2446
Joined: Tue Feb 17, 2004 1:11 am
Contact:

Post by ckit »

I support this proposal!
XnViewMP 64bits and Windows 10 Pro x64 2004
PhotoFiltre Studio X
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Post by Dreamer »

I found this in another thread:
xnview wrote:
Dreamer wrote:When I press "Enter" key on non image file (e.g. .txt), warning dialog box is shown "Error opening the file <text.txt>" ( :bug: ?). 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?
Yes for 1.81
Oberon Prime
Posts: 13
Joined: Sun Apr 10, 2005 4:45 pm

Post by Oberon Prime »

I also support this proposal. This oddity in behaviour is most frustrating.
klumy
Posts: 229
Joined: Sat Jun 18, 2005 9:33 am

Post by klumy »

good idea
XNView 1.91.5
Windows XP SP3
User avatar
xnview
Author of XnView
Posts: 34083
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Open all non image files in associated program

Post by xnview »

Dreamer wrote:In the browser - Open all non image files in associated program after double click on file or with Enter (as option maybe).
So even video/audio/text files?
Pierre.
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Re: Open all non image files in associated program

Post by ckv »

xnview wrote:So even video/audio/text files?
I think so, but only when XnView is set not to view those file types.
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.
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Re: Open all non image files in associated program

Post by Dreamer »

xnview wrote:
Dreamer wrote:In the browser - Open all non image files in associated program after double click on file or with Enter (as option maybe).
So even video/audio/text files?
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.

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)?
User avatar
xnview
Author of XnView
Posts: 34083
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Open all non image files in associated program

Post by xnview »

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
Does everyone agree?
Pierre.
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Re: Open all non image files in associated program

Post by Dreamer »

xnview wrote:
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
Does everyone agree?
The problem is that the second option doesn't make sense if the first option is disabled, so we must find another solution... :(
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Exclude system in INI

Post by Clo »

:arrow: Dreamer

:) Hello !
The problem is that the second option doesn't make sense if the first option is disabled, so we must find another solution… :(
• What about a variable INI entry with exclusion ? I mean, for instance :
OpenElseInAssociatedProg = *.*|*.txt *.mpeg *.rmi …
where the extensions set at the right side of the vertical bar (pipe) are excluded - so, not open in the associated program.
- 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 (?) …

:mrgreen: Kind regards,
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
Irving
Posts: 83
Joined: Thu May 26, 2005 5:44 am

Re: Open all non image files in associated program

Post by Irving »

Dreamer wrote:In the browser - Open all non image files in associated program after double click on file or with Enter (as option maybe).
If it isn't related to images, leave it alone. More code means more bloat and likely more bugs.
User avatar
xnview
Author of XnView
Posts: 34083
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Open all non image files in associated program

Post by xnview »

Dreamer wrote:
xnview wrote:
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
Does everyone agree?
The problem is that the second option doesn't make sense if the first option is disabled, so we must find another solution... :(
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...
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Syntax---

Post by Clo »

:arrow: Pierre

:) Hello Pierre!

• 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… ;)

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Re: Open all non image files in associated program

Post by Dreamer »

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...
Yes, but there is already an option "Use external media player" in xnview, so it should be clear to user what option has priority.

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)"
Post Reply