Get screen coordinates of an HTML element in a website

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
nerdcoder19
Posts: 11
Joined: 15 Apr 2023, 15:00

Get screen coordinates of an HTML element in a website

Post by nerdcoder19 » 24 Apr 2023, 12:55

Hello, is there a way to get the screen coordinates of an HTML element in a website in an AHK?

For example, get the value of the id "coins" and msgbox the value.

Note: I was having trouble getting this to work since the "value" of the HTML element might be different for every user (in the example, the value would be the amount of coins; each user can have a different amount of coins), so I can't use fetch in the AHK code itself (that would only get the global values in a website).

Return to “Ask for Help (v1)”