Wheel down to a specific position having X and y coordinates in browser/web page Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
shoun2502
Posts: 9
Joined: 13 May 2021, 10:32

Wheel down to a specific position having X and y coordinates in browser/web page

13 May 2021, 10:40

Hi Team,
Could anyone help with the script to assign a ^+h:: Shortcut

to "Wheeldown" and jump to a location in a browser having X= 1707 and Y=438 coordinates/ position.

I tried writing this code but could not get the desired result.

Code: Select all

^+h::
Mouseclick,WheelDown,1707,438,50,0,D,R
return

I would appreciate the help in the code to execute the same.
Thanks
User avatar
boiler
Posts: 16915
Joined: 21 Dec 2014, 02:44

Re: Wheel down to a specific position having X and y coordinates in browser/web page  Topic is solved

13 May 2021, 11:12

If you press the hotkey while the browser is the active window, this does what you said. The coordinates it moves to would be relative to the browser window, not the screen overall. Whether it accomplishes what you intended may be another story, so you may need to provide more info on that.

Code: Select all

^+h::
Send, {WheelDown}
MouseMove, 1707, 438, 0
return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Raymondbit and 373 guests