Jump to content
Sign in to follow this  
~L.a.p.i.g~

Help With Simple Autotyper

Recommended Posts

~L.a.p.i.g~

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
greenmachine

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
Evil_Has_Survived

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
Thatsgreat2345

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.