Jump to content

Recommended Posts

Posted (edited)

Hey all,

I'm relatively new to Autoit and I'm working on a script that at one point requires the user to manually input their account username and password into a website. My current thinking is that I would write a Do loop to have the script sleep until the user manually hits the login button on the website (identified by id in my script)...does that seem like a good standard way to do it? I'd rather have the user input this account info directly into the site rather than create an input box inside the script. 

 

Thanks very much in advance for any help you all could offer!

Edited by Learner202
  • Moderators
Posted

Hi, Learner202, welcome to the forum. If you can accurately get the login button id, and simply sleeping until the user hits that button, then that is obviously a better method than presenting inputboxes, and then trying to send the value of said inputboxes to the web page. Is that your only question?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

Thanks for verifying my logic JLogan!

Would I use a variant of _IsPressed on the button id to check if the button has been clicked? Figuring out the proper function to use for that bit has me tied up. 

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
×
×
  • Create New...