Any help is greatly appreciated. I would prefer a green dot on the top right corner of the screen but text or something is fine too as lone as it's a visual indicator that the ~ button was just pressed to start the loop and it won't stop or interrupt the loop. Please and Thank you in advance!
Code: Select all
#NoEnv
#SingleInstance Force
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#KeyHistory 0
ListLines Off
Process, Priority, , A
SetBatchLines, -1
SetKeyDelay, -1, -1
SetMouseDelay, -1
SetDefaultMouseSpeed, 0
SetWinDelay, -1
SetControlDelay, -1
SendMode Input
posX := [10,45,73,105,133,167,195,228,258,288,320,350,382,415,445,10,45,73,105,133,167,195,228,258,288,320,350,382,415,445,10,45,73,105,133,167,195,228,258,288,320,350,382,415,445,10,45,73,105,133,167,195,228,258,288,320,350,382,415,445,10,45,73,105,133,167,195,228,258,288,320,350,382,415,445,20,45,73,105,133,167,195,228,258,288,320,350,382,415,445]
posY := [880,880,880,880,880,880,880,880,880,880,880,880,880,880,880,910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,940,940,940,940,940,940,940,940,940,940,940,940,940,940,940,975,975,975,975,975,975,975,975,975,975,975,975,975,975,975,1005,1005,1005,1005,1005,1005,1005,1005,1005,1005,1005,1005,1005,1005,1005,1061,1065,1065,1065,1065,1065,1065,1065,1065,1065,1065,1065,1065,1065,1065]
clr := 0xFFFFFF
char := ["1","2","3","4","5","6","7","8","9","0","t","g","k","y","u","!1","!2","!3","!4","!5","!6","!7","!8","!9","!0","!t","!g","!k","!y","!u","+1","+2","+3","+4","+5","+6","+7","+8","+9","+0","+t","+g","+k","+y","+u","^+1","^+2","^+3","^+4","^+5","6","^+7","^+8","^+9","^+j","^+t","^+g","^+k","^+y","^+u","^1","^2","^3","^4","^5","^6","^7","^8","9","^0","^t","^g","^k","^y","^u","^!1","^!2","^!3","^!4","^!5","^!6","^!7","^!8","^!9","^!0","^!t","^!g","^!k","^!y","^!u"]
`::
Loop, % posX.MaxIndex()
{
PixelGetColor, color, posX[A_Index], posY[A_Index], Fast
if (color = clr)
{
Send % char[A_Index]
break
}
}
return