Hello. I use pixel rotation on AHK. There is a problem that when I click on the button, the click does not work immediately, there is a delay. If I press with my own hands there is no delay, if AHK does it, then there is a delay. I have already done Sleep, but the result is not quite normal
Code:vk45:: Loop { GetKeyState, state, vk45 if state = U break CoordMode, Pixel, Window PixelGetColor, color, 622, 670, RGB If (color = 0x566272) { Send, {1 down} sleep 35 Send, {1 up} }