How can I do the "GetMouseCursor" Function?

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
User avatar
vSky
Posts: 80
Joined: 30 May 2022, 10:13

How can I do the "GetMouseCursor" Function?

Post by vSky » 24 Mar 2023, 13:22

I need this function to control mouse cursor change. How can I do that?

User avatar
vSky
Posts: 80
Joined: 30 May 2022, 10:13

Re: How can I do the "GetMouseCursor" Function?

Post by vSky » 24 Mar 2023, 13:47

I guess I just had to think a little bit more.

Code: Select all

Loop
{
    mCursor:= A_Cursor
If (mCursor = "IBeam")
		MsgBox, "OK!"
}

Post Reply

Return to “Ask for Help (v2)”