Need help adding a visual indicator

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
test89
Posts: 4
Joined: 19 Oct 2018, 15:39

Need help adding a visual indicator

06 May 2021, 07:25

I need to add a text overlay for this script that's always on top of the window. "script: ON" when it is actively looping, and when the if statement gets triggered and reloads the script the text overlay reads "script: OFF" until it's turned back on again with F11.

any help appreciated

Code: Select all

F11::
Loop
{
PixelSearch, Px, Py, 80, 923, 159, 968, 0x2903ac, 1, Fast

if (ErrorLevel = 1)
{
	Send, 1
	Send, {Enter}
	SendInput, /exit
	Send, {Enter}
	Sleep, 250
	reload
} 
}
Return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: jollyjoe and 190 guests