hellow i seem to have problem here
------------------
WinWaitActive
WinSetOnTop
$win =
WinMove($win, "", 0, 0)
$k = 1
Do
_monstersearch()
Until $k = 2 ;Loop Repeated non stop since $k is always 1. So you need to press End key to stop the script
Func _monstersearch()
$w = 1
Do
ControlSend($win, "", "", "1") ;send key 1 for scroll
Sleep(1000) ;stop for 2 sec
ControlSend($win, "", "", "2") ;send key 1 for scroll
Sleep(1000) ;stop for 2 sec
ControlSend($win, "", "", "3") ;send key 1 for scroll
Sleep(1000) ;stop for 2 sec
ControlSend($win, "", "", "4") ;send key 1 for scroll
Sleep(20000) ;stop for 40 secs
Until $w = 2
EndFunc ;==>_monstersearch
------------------------
on the do function when it do 1 2 3 4 key it doesn't spam :( i wonder what i need to change can you guys help me thanks in advance:handsdown:
------------------
WinWaitActive
WinSetOnTop
$win =
WinMove($win, "", 0, 0)
$k = 1
Do
_monstersearch()
Until $k = 2 ;Loop Repeated non stop since $k is always 1. So you need to press End key to stop the script
Func _monstersearch()
$w = 1
Do
ControlSend($win, "", "", "1") ;send key 1 for scroll
Sleep(1000) ;stop for 2 sec
ControlSend($win, "", "", "2") ;send key 1 for scroll
Sleep(1000) ;stop for 2 sec
ControlSend($win, "", "", "3") ;send key 1 for scroll
Sleep(1000) ;stop for 2 sec
ControlSend($win, "", "", "4") ;send key 1 for scroll
Sleep(20000) ;stop for 40 secs
Until $w = 2
EndFunc ;==>_monstersearch
------------------------
on the do function when it do 1 2 3 4 key it doesn't spam :( i wonder what i need to change can you guys help me thanks in advance:handsdown: