![]() |
|
Auto it auto typer - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Coders Lounge (https://hackforums.net/forumdisplay.php?fid=5) +---- Thread: Auto it auto typer (/showthread.php?tid=1485573) |
Auto it auto typer - domukas00 - Jul 15, 2011 Hello i wan to make auto typer with auto it. I wan that when i press "up" key, auto typer press "enter" type "/fish" press "enter" wait for 10seconds, then repeat again. And i wan that when i press "down" key autotyper stop doing this. I was searching for tutorials in internet and i made this: hotkeyset ("{UP}", "_Toggle1") Global $Toggle1 = False while 1 If $Toggle1 Then send("{ENTER}") sleep(100) send(" /fish ") sleep(100) send("{ENTER}") sleep(10000) wend HotKeySet(“{DOWN}”,”abort”) Func abort() Exit EndFunc [But when i try to compile it to exe it gives error with HotKeySet(“{DOWN}”,”abort”), Can somebody help me to do this script? * - shiv_narr - Jul 15, 2011 ☺ You can get Auto Typer from this link: http://www.2shared.com/file/vLQszBa2/EnjoyTyping.html ☺ * - Yarukinasu - Jul 15, 2011 There are some errors I could mention... 1) You're missing an EndIf statement. 2) There's no "_Toggle1" function defined. 3) There are many illegal characters... Try typing again with some fresh text editor. Here's my implementation, anyway... Code ; set the hotkeys* - domukas00 - Jul 29, 2011 Thank you vey much. It worked fine :) |