Sign in to follow this  
Followers 0
jimmyvee1

Pause script and wait for key entry to start again

5 posts in this topic

I am searching for the command to pause a script until I hit the enter key. After I hit the enter key I want he script to continue. My example is; start a script and once it reaches a captcha screen I want it to pause and wait until hit the enter key and then I want the script to continue and finish the script. thanks for any help.......Jim

Share this post


Link to post
Share on other sites



Hmmm... I wonder what this could be for? Meh....

Share this post


Link to post
Share on other sites

From the Help File under "HotKeySet()"

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")


;;;; Body of program would go here ;;;;
While 1
    Sleep(100)
WEnd
;;;;;;;;

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

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites

Thanks guys...I looked and looked and I just did not see it. I knew it was there Thanks again!

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  
Followers 0