Jump to content

newb question


Recommended Posts

newb question for my newb script

I would like my script to pause at a certain point until a key is pressed. I found how to pause with hotkeys but thats not what I want it to do. The script is just logging me into a website, entering my acct and pwd and submitting, then the next page has an number verification on it, I would like the script to pause after it submits my acct and pwd so that i can enter the correct number. any suggestions would be appreciated.

The glass is neither half empty nor half full, it is simply twice as big as it needs to be.
Link to comment
Share on other sites

Just a quick 'n dirty note here. Do not use anything below Sleep(250) so as not to occupy too much CPU time -if possible-.

Your information is incorrect, Sleep(250) makes the script unable to respond quick enough, or something happened during that 250 ms will result the script to do nothing. While Sleep(1) is very efficient and it doesn't hog cpu at all, code below uses around 3k Memory and 0 CPU.

While 1
Sleep(1)
WEnd
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...