Jump to content
Sign in to follow this  

ControlSend help

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")
ControlClick("The title", "", "Check")

$Number = $Number + 1


Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        ToolTip('Script is "Paused"',0,0)

Func Terminate()
    Exit 0

I'm a newbie.Sorry if I don't reposed to your replays very fast.

Share this post

Link to post
Share on other sites

The syntax highlighting shows it.

Change the ControlSend() to..

ControlSend("The title", "", "", "Number:, " & $Number)



Missing the parameter for the controlid so added a empty string "".

Edited by MHz

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...