Page 1 of 4

Open all non image files in associated program

Posted: Tue Jul 05, 2005 8:39 pm
by Dreamer
In the browser - Open all non image files in associated program after double click on file or with Enter (as option maybe).

Posted: Sun Jul 10, 2005 2:24 am
by ckit
I support this proposal!

Posted: Sat Jul 16, 2005 4:59 pm
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

Posted: Thu Aug 18, 2005 6:52 am
by Oberon Prime
I also support this proposal. This oddity in behaviour is most frustrating.

Posted: Thu Aug 18, 2005 3:52 pm
by klumy
good idea

Re: Open all non image files in associated program

Posted: Fri Aug 19, 2005 4:03 pm
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?

Re: Open all non image files in associated program

Posted: Fri Aug 19, 2005 7:31 pm
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.

Re: Open all non image files in associated program

Posted: Fri Aug 19, 2005 9:21 pm
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)?

Re: Open all non image files in associated program

Posted: Thu Aug 25, 2005 10:59 am
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?

Re: Open all non image files in associated program

Posted: Thu Aug 25, 2005 11:03 pm
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... :(

Exclude system in INI

Posted: Fri Aug 26, 2005 12:58 am
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

Re: Open all non image files in associated program

Posted: Fri Aug 26, 2005 3:27 am
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.

Re: Open all non image files in associated program

Posted: Fri Aug 26, 2005 6:41 am
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...

Syntax---

Posted: Fri Aug 26, 2005 3:49 pm
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

Re: Open all non image files in associated program

Posted: Fri Aug 26, 2005 11:36 pm
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)"