Mouse buttons 4 & 5 for navigation

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

whismerhill
Posts: 25
Joined: Sun Nov 14, 2010 4:47 am
Location: France.

Mouse buttons 4 & 5 for navigation

Postby whismerhill » Sat Dec 17, 2011 9:49 am

as is the case with browsers back/forward functions, Xnview allows the use of mouse buttons 4 & 5 to navigate between next & previous images
In XnviewMP it doesn't work, I'd like that functionality to be restored if that's possible.
thanks for reading.

De la même façon que pour les navigateurs, avec les fonctions précédent/suivant, Xnview permet l'utilisation des boutons 4 & 5 d'une souris pour naviguer entre les images suivantes & précédentes.
Dans XnviewMP cela ne fonctionne pas, j'aimerais que cette fonctionnalité sois restaurée si cela est possible.
merci d'avance.


PS: After some more thinking, I think I posted this in the wrong category , therefore I "moved" it there, (delete & recreate).

ShrapNull
Posts: 6
Joined: Sat Jan 28, 2012 4:31 pm

Re: mouse button 4 & 5 for navigation

Postby ShrapNull » Sat Jan 28, 2012 4:40 pm

I know this thread is old, but I have found a solution in a small autohotkey script I wrote. For anyone who doesn't know about autohotkey, it is very easy to use.

Create a new autohotkey script, then right click it & edit the script. Paste the following 3 lines at the bottom and save. Then double click on the file.

Code: Select all

#IfWinActive ahk_class XmainClass
XButton1::PostMessage, 0x111, 335, 0, , XnView
XButton2::PostMessage, 0x111, 336, 0, , XnView



That is all. Please let me know if this helps you.

You can download autohotkey from http://www.autohotkey.com/download/ - the first link for autohotkey_L is fine.

whismerhill
Posts: 25
Joined: Sun Nov 14, 2010 4:47 am
Location: France.

Re: mouse button 4 & 5 for navigation

Postby whismerhill » Sat Feb 18, 2012 12:21 pm

awesome !
I already use autohotkey in fact
never thought about combining it with Xnview though

so thanks a lot, (although I really hope this gets implemented directly in xnviewmp at some point in time)

User avatar
xnview
Author of XnView
Posts: 27896
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: mouse button 4 & 5 for navigation

Postby xnview » Thu Apr 19, 2012 9:18 am

Please check XnViewMP 0.48
Pierre.

User avatar
RGhost
Posts: 44
Joined: Sun Mar 30, 2008 10:51 am
Location: Moscow
Contact:

Re: mouse button 4 & 5 for navigation

Postby RGhost » Fri Apr 20, 2012 4:59 am

Works well. Thank you for this one!
Royal Ghost | http://veda3d.com

User avatar
Sirio
Posts: 90
Joined: Tue Oct 13, 2015 3:22 pm

Re: mouse button 4 & 5 for navigation

Postby Sirio » Wed Feb 01, 2017 10:02 pm

I think that the button 4 and 5 of the mouse should be more used to navigate like the buttons Back - Forward of XnViewMP.
Is it possible to make it possible?
Clipboard 1.png
Clipboard 1.png (8.64 KiB) Viewed 484 times
file.jpg
file.jpg (37.49 KiB) Viewed 484 times
Sirio

Sched
Posts: 10
Joined: Thu Oct 20, 2016 3:28 pm

Re: mouse button 4 & 5 for navigation

Postby Sched » Wed Feb 01, 2017 10:05 pm

+1 good idea!

User avatar
helmut
Posts: 8120
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: mouse button 4 & 5 for navigation

Postby helmut » Wed Feb 01, 2017 10:18 pm

Sirio wrote:I think that the button 4 and 5 of the mouse should be more used to navigate like the buttons Back - Forward of XnViewMP.
Is it possible to make it possible?
I just tried this out in XnView MP 0.84 with a Logitech M510 on Windows 10:
In Image view mode and button 4 (=Previous image) and button 5 (=Next image) work for me like a charm. Same applies for scroll wheel left (=Previous image)/right (=Next image).

Do I get something wrong? Don't the buttons 4 & 5 work for you?

tboy
Posts: 79
Joined: Wed Jan 26, 2005 11:44 pm

Re: mouse button 4 & 5 for navigation

Postby tboy » Thu Feb 02, 2017 7:35 am

@whismerhill:

Try X-Mouse Button Control

It's an excellent free program for mouse buttons customization.
Allows to use different buttons settings for different applications.
Last edited by tboy on Thu Feb 02, 2017 8:07 pm, edited 1 time in total.

User avatar
Sirio
Posts: 90
Joined: Tue Oct 13, 2015 3:22 pm

Re: Mouse buttons 4 & 5 for navigation

Postby Sirio » Thu Feb 02, 2017 8:49 am

Yes, in Viewer mode, for me too, it works perfectly as previous/next file.
What I am saying is that in Browser mode, the previous/next file don't have sense. Then I propose that in Browser mode the button 4 &5 of the mouse get the same function that they have in the most cases in other software: Back - Forward in the navigation.
History1.gif
History1.gif (2.38 KiB) Viewed 460 times
Firefox.png
Firefox.png (6.13 KiB) Viewed 460 times
01.jpg
01.jpg (7.28 KiB) Viewed 460 times

And the best solution could be the possibility to select the function (here a simulation):
XnViewMP-Mouse.jpg


Thanks whismerhill for the X-Mouse Button Control, I will try it.
Sirio

User avatar
helmut
Posts: 8120
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Mouse buttons 4 & 5 for navigation

Postby helmut » Thu Feb 02, 2017 10:31 pm

Sirio wrote:...Then I propose that in Browser mode the button 4 &5 of the mouse get the same function that they have in the most cases in other software: Back - Forward in the navigation. ...
Ah, now I fiinally understood what you mean: In XnView browser buttons 4 / 5 are assigned to back/forward in the history of browsed directories (and not previous/next image in the current folder). This makes much sense.

Notes:
- From what I can see, currently mouse buttons 4 & 5 do nothing in browser mode.
- Does Previous/Next file in XnView browser make sense at all?

User avatar
Sirio
Posts: 90
Joined: Tue Oct 13, 2015 3:22 pm

Re: Mouse buttons 4 & 5 for navigation

Postby Sirio » Fri Feb 03, 2017 7:52 am

:D Aaaaah
No, Previous/Next file in XnView browser mode don't make sense at all. In view mode, yes, but not in browser mode.
Therefore, is better assign them the back/forward function in the history of browsed directories. (As you better said)
Thank you :D
Sirio

User avatar
helmut
Posts: 8120
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Mouse buttons 4 & 5 for navigation

Postby helmut » Fri Feb 03, 2017 7:56 am

Sirio wrote::D Aaaaah
No, Previous/Next file in XnView browser mode don't make sense at all. In view mode, yes, but not in browser mode.
Therefore, is better assign them the back/forward function in the history of browsed directories. (As you better said)
Thank you :D
:D

dezdem
Posts: 2
Joined: Sun Jul 16, 2017 10:17 am

Re: Mouse buttons 4 & 5 for navigation

Postby dezdem » Sun Jul 16, 2017 10:19 am

i wish i had an ability to bind mouse4 to cmd_upFolder


Return to “MP - Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest