Sign in to follow this  
Followers 0
~L.a.p.i.g~

Help With Simple Autotyper

4 posts in this topic

#1 ·  Posted (edited)

I am trying to make a typing remote and just to test it i did this and it types it over and over again. How can i stop it? Heres the Code

; Press Esc to terminate script, Pause/Break to "pause"
Global $Paused
HotKeySet("n", "Lapigiscool")
HotKeySet("{ESC}", "Terminate")
;Shift-Alt-d
;;;; Body of program would go here;;;;
While 1
 Sleep(100)
WEnd
;;;;;;;;
;
Func Lapigiscool ()
 Send ( "L.a.p.i.g {TAB} is {TAB} Cool" )
EndFunc ;==>Lapigiscool
;
Func Terminate()
 Exit 0
EndFunc ;==>Terminate
Edited by ~L.a.p.i.g~

Share this post


Link to post
Share on other sites



With that exact code, it will only repeat itself if you press n more than once.

Share this post


Link to post
Share on other sites

I am trying to make a typing remote and just to test it i did this and it types it over and over again. How can i stop it? Heres the Code

; Press Esc to terminate script, Pause/Break to "pause"
Global $Paused
HotKeySet("n", "Lapigiscool")
HotKeySet("{ESC}", "Terminate")
;Shift-Alt-d
;;;; Body of program would go here;;;;
While 1
 Sleep(100)
WEnd
;;;;;;;;
;
Func Lapigiscool ()
 Send ( "L.a.p.i.g {TAB} is {TAB} Cool" )
EndFunc;==>Lapigiscool
;
Func Terminate()
 Exit 0
EndFunc;==>Terminate
try this keys

Thanks in advance

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

if you want it to repeat then put a while 1 and wend in the function so it will keep doing it like this

and escape quits it

HotKeySet("n", "Lapigiscool")
HotKeySet("{ESC}", "Terminate")
While 1
Sleep(100)
WEnd
Func Lapigiscool()
while 1
Send("L.a.p.i.g {TAB} is {TAB} Cool")
wend
EndFunc
Func Terminate()
Exit 0
EndFunc
Edited by thatsgreat2345

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0