Skip to content

Instantly share code, notes, and snippets.

@RaptorX
Created February 17, 2023 15:26
Show Gist options
  • Save RaptorX/3792effdbe8b0a3f9ff7465af81010f2 to your computer and use it in GitHub Desktop.
Save RaptorX/3792effdbe8b0a3f9ff7465af81010f2 to your computer and use it in GitHub Desktop.
settimer displayCursor, 10
return
displayCursor()
{
if a_cursor = 'IBeam'
{
MouseGetPos ,,, &OutputVarControl, 2
hwnd := ControlGetFocus('A')
if (OutputVarControl = hwnd)
tooltip a_cursor ' is in edit mode'
else
tooltip a_cursor ' is NOT in edit mode'
}
}
@saineox
Copy link

saineox commented Feb 17, 2023

I really appreciate it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment