Jump to content

ControlSend help


Orgins
 Share

Recommended Posts

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...