Progammatically Scroll

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Progammatically Scroll

Post by binocular222 »

I use laptop, many times without a mouse, so it's not convenient to use touchpad to scroll horizontally.
XY has no internal function to progammatically scroll - right?
But even Autohotkey fail - this AHK works with most windows except XY: Scroll Right:

Code: Select all

MouseGetPos, m_x, m_y
hw_m_target := DllCall( "WindowFromPoint", "int", m_x, "int", m_y )
SendMessage, 0x114, 1, 0,,  ahk_id %hw_m_target%
Scroll Left:

Code: Select all

MouseGetPos, m_x, m_y
hw_m_target := DllCall( "WindowFromPoint", "int", m_x, "int", m_y )
SendMessage, 0x114, 0, 0,,  ahk_id %hw_m_target%
There must be something strange with XY's window
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Progammatically Scroll

Post by Marco »

I don't know if this helps, but I noticed that when I hover an horizontal scrollbar with the mouse, if I scroll the mouse wheel then the scrollbar moves.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Progammatically Scroll

Post by Stefan »

To scroll horizontally without a mouse, press left/right arrow keys.






 

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Progammatically Scroll

Post by binocular222 »

Left/right arrow scroll too slow
I want to scroll without moving the mouse (damn touch pad)
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

Stef123

Re: Progammatically Scroll

Post by Stef123 »

Operating XY via touchpad can indeed be daunting. I have several other issues with this, but back to your question:
AHK did not work for me, either. What windows spy did you use?
Have you tried freeware like KatMouse or WhizMouse?

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Progammatically Scroll

Post by binocular222 »

Stefan wrote:To scroll horizontally without a mouse, press left/right arrow keys.
Yeah, that's right, pressing left/right multiple times:

Code: Select all

#If WinActive("XYplorer ahk_class ThunderRT6FormDC")
!Right:: Sendinput {Right 40}
!Left:: Sendinput {Left 40}
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

Post Reply