Mouse position: Difference between revisions
Content deleted Content added
Line 126:
Traytip, Mouse position, x: %x%`ny: %y%`rWindow: %WinTitle%, 4 ; Displays the info as a Traytip for 4 seconds
return</lang>
===with DllCall===
Source: [https://github.com/jNizM/AHK_DllCall_WinAPI/ GetCursorPos @github] by jNizM
<lang AutoHotkey>GetCursorPos()
{
Line 141 ⟶ 142:
. "x-coordinate:`t`t" GetCursorPos[0] "`n"
. "y-coordinate:`t`t" GetCursorPos[1]</lang>
<lang AutoHotkey>GetPhysicalCursorPos()
{
|