Orgins Posted February 13, 2007 Posted February 13, 2007 I keep getting ''Unterminated string in file ......., line 10'' (the ControlSend line) I think you can tell what I was going for but just in case. I wanted it to send 1 click check send 2 click check send 3 click check ect. Any help would be nice. Global $Paused HotKeySet("{PAUSE}", "TogglePause") HotKeySet("{ESC}", "Terminate") $Number = 1 While 1 ControlSend("The title", "", "Number:, "$Number") Sleep(800) ControlClick("The title", "", "Check") Sleep(800) $Number = $Number + 1 WEnd Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) ToolTip('Script is "Paused"',0,0) WEnd ToolTip("") EndFunc Func Terminate() Exit 0 EndFunc I'm a newbie.Sorry if I don't reposed to your replays very fast.
MHz Posted February 13, 2007 Posted February 13, 2007 (edited) The syntax highlighting shows it. Change the ControlSend() to.. ControlSend("The title", "", "", "Number:, " & $Number) Edit: Missing the parameter for the controlid so added a empty string "". Edited February 13, 2007 by MHz
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