FireStorm001 Posted January 14, 2014 Posted January 14, 2014 (edited) Hello i have problem with send() function it doesn't work only the first line in script (Hello World) then the script exit ! HotKeySet("{v}","start") HotKeySet("{e}","_exit") HotKeySet("{p}", "Pause") $a = "Hello World" $S= "this is my first program" While 1 sleep(120) WEnd func start() While 1 send($a) send("{ENTER}") send($S) WEnd EndFunc func _exit() exit EndFunc Func Pause() while 1 WEnd EndFunc Edited January 14, 2014 by FireStorm001
dedekpredek Posted January 14, 2014 Posted January 14, 2014 Hi FireStorm001, problem is in your hotkey for exit. When the script sends letter "e" in word "Hello" it ends script. Letter "p" for pause....just the same FireStorm001 1
FireStorm001 Posted January 14, 2014 Author Posted January 14, 2014 (edited) Hi FireStorm001, problem is in your hotkey for exit. When the script sends letter "e" in word "Hello" it ends script. Letter "p" for pause....just the same oh thanks you so much , i thought its only copy and paste agin thanks you Edited January 14, 2014 by FireStorm001
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now