Page 1 of 1
Mouse buttons 4 & 5 for navigation
Posted: Sat Dec 17, 2011 9:49 am
by whismerhill
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).
Re: mouse button 4 & 5 for navigation
Posted: Sat Jan 28, 2012 4:40 pm
by ShrapNull
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.
Re: mouse button 4 & 5 for navigation
Posted: Sat Feb 18, 2012 12:21 pm
by whismerhill
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)
Re: mouse button 4 & 5 for navigation
Posted: Thu Apr 19, 2012 9:18 am
by xnview
Please check
XnViewMP 0.48
Re: mouse button 4 & 5 for navigation
Posted: Fri Apr 20, 2012 4:59 am
by RGhost
Works well. Thank you for this one!
Re: mouse button 4 & 5 for navigation
Posted: Wed Feb 01, 2017 10:02 pm
by Sirio
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 (8.64 KiB) Viewed 2916 times
- file.jpg (37.49 KiB) Viewed 2916 times
Re: mouse button 4 & 5 for navigation
Posted: Wed Feb 01, 2017 10:05 pm
by Sched
+1 good idea!
Re: mouse button 4 & 5 for navigation
Posted: Wed Feb 01, 2017 10:18 pm
by helmut
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?
Re: mouse button 4 & 5 for navigation
Posted: Thu Feb 02, 2017 7:35 am
by tboy
@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.
Re: Mouse buttons 4 & 5 for navigation
Posted: Thu Feb 02, 2017 8:49 am
by Sirio
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 (2.38 KiB) Viewed 2892 times
- Firefox.png (6.13 KiB) Viewed 2892 times
- 01.jpg (7.28 KiB) Viewed 2892 times
And the best solution could be the possibility to select the function (here a simulation):
Thanks whismerhill for the X-Mouse Button Control, I will try it.
Re: Mouse buttons 4 & 5 for navigation
Posted: Thu Feb 02, 2017 10:31 pm
by helmut
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?
Re: Mouse buttons 4 & 5 for navigation
Posted: Fri Feb 03, 2017 7:52 am
by Sirio
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
Re: Mouse buttons 4 & 5 for navigation
Posted: Fri Feb 03, 2017 7:56 am
by helmut
Sirio wrote: 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
Re: Mouse buttons 4 & 5 for navigation
Posted: Sun Jul 16, 2017 10:19 am
by dezdem
i wish i was able to bind cmd_historyPrev & cmd_historyNext on mouse4 & 5
Re: Mouse buttons 4 & 5 for navigation
Posted: Tue Jul 02, 2019 5:43 pm
by dezdem
dezdem wrote: ↑Sun Jul 16, 2017 10:19 am
i wish i was able to bind cmd_historyPrev & cmd_historyNext on mouse4 & 5
up