I have this label that is working properly in Photoshop. But when I click the mouse (unintentionally), unexpected things happen. Any ideia?
Code: Select all
Color_Wheel:
; HOW TO DISABLE LBUTTON HERE IN THIS LINE? <---------------
Suspend, On
SendInput, b
KeyWait, %Key%, D
Tip("Color Wheel", 60000)
Send {Alt Down}{Shift Down}
MouseClick, Right,,, 1, 0, D
Send {Alt Up}{Shift Up}
Loop
{
Sleep, 10
GetKeyState, State, %Key%, P
if State = U
break
}
MouseClick, Right,,, 1, 0, U
Suspend, Off
; AND HOW TO REACTIVATE LBUTTON HERE? <---------------
Reload
return