When I run my script I want the send event to be performed slowly step-by-step. Below is my running code :
NOTE: I had tried using Set Key Delay and SetControlDelay but doesn't work :(
#SingleInstance force
#Persistent
Run,Desk.cpl
SetTimer, Check, 1000
return
Check:
IfWinActive, ahk_class CabinetWClass
SetKeyDelay, 0
SendEvent {Click 678, 368}
IfWinActive, ahk_class #32770
SendEvent {Click 212, 67}
IfWinActive, ahk_class #32770
SetControlDelay, 20
SendEvent {Click 88, 362}
IfWinNotExist, ahk_class CabinetWClass
{
ExitApp
return
}