hi, i just want to make a script that can type letter "A" on two notepad..
alt tab to each other and press "A" non-stop...
can someone help me? just a newbie and want to learn...
                       
                           
                       
                     alt tab to each other and press "A" non-stop...
can someone help me? just a newbie and want to learn...
[ autoit ]          
HotKeySet("{End}", "stop") HotKeySet("{Home}", "Start") Func Start() If WinActive("Notepad1") = 0 then Do WinActivate("Notepad1") Until WinActive("Notepad1") EndIf If WinActive("Notepad2") = 0 then Do WinActivate("Notepad2") Until WinActive("Notepad2") EndIf Send('A') Send('A') Send('A') Send('A') Send('A') WEnd EndFunc func stop() Exit EndFunc