8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggest using AutoHotKeys. Here's a script, tweak params as desired:
zoomspeed = 50 delta = 20 XButton1:: loop { CoordMode, Mouse, Screen MouseGetPos, m_x, m_y hw_m_target := DllCall( "WindowFromPoint", "int", m_x, "int", m_y ) SendMessage, 0x20A, delta << 16, ( m_y << 16 )|m_x,, ahk_id %hw_m_target% GetKeyState, state1, XButton1, P if state1 = U break Sleep, zoomspeed } return XButton2:: loop { CoordMode, Mouse, Screen MouseGetPos, m_x, m_y hw_m_target := DllCall( "WindowFromPoint", "int", m_x, "int", m_y ) SendMessage, 0x20A, (-delta) << 16, ( m_y << 16 )|m_x,, ahk_id %hw_m_target% GetKeyState, state2, XButton2, P if state2 = U break Sleep, zoomspeed } return
The text was updated successfully, but these errors were encountered:
Use DllCall( "WindowFromPoint", "int64", m_x | (m_y << 32), "Ptr") for 32/64 bit compatibility.
DllCall( "WindowFromPoint", "int64", m_x | (m_y << 32), "Ptr")
Sorry, something went wrong.
No branches or pull requests
Suggest using AutoHotKeys. Here's a script, tweak params as desired:
The text was updated successfully, but these errors were encountered: