Page 1 of 1

Progammatically Scroll

Posted: 11 Apr 2014 19:46
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

Re: Progammatically Scroll

Posted: 12 Apr 2014 00:41
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.

Re: Progammatically Scroll

Posted: 12 Apr 2014 00:58
by Stefan
To scroll horizontally without a mouse, press left/right arrow keys.






 

Re: Progammatically Scroll

Posted: 12 Apr 2014 02:41
by binocular222
Left/right arrow scroll too slow
I want to scroll without moving the mouse (damn touch pad)

Re: Progammatically Scroll

Posted: 14 Apr 2014 10:16
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?

Re: Progammatically Scroll

Posted: 14 Apr 2014 17:37
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}