jhinesyo Posted June 21, 2007 Share Posted June 21, 2007 Hello All, I have an issue with an application time out screen popping up. I would like to have the AutoIT gui I wrote put in the username/password and click OK for the user. My current GUI when launched collects the username/password for the application in question. The user then clicks a radio button on my GUI app which installs / launches the application, waits for the login screen and enters in the username / password. Once in the application, my Autoit GUI just sits in the background- waiting for input I assume. I would like to have the GUI scan for the application time out window that pops up and asks the user to re-login. It is a java program, so no chance in seeing any window text, other than the Title Bar. Fortunately, it seems to be a pretty unique title, "Please re-authenticate to continue" is the title, and the Auto it window tool see's that, but no controls, or other window text. How can I have the Autoit GUI that is running send the username/password again? thanks!!! Link to comment Share on other sites More sharing options...
enaiman Posted June 24, 2007 Share Posted June 24, 2007 Some code for a start?? SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
SpookMeister Posted June 25, 2007 Share Posted June 25, 2007 (edited) Also consider if it is possible to prevent the application from timing out in the first place... perhaps by making the mouse move slightly when there has been no input for a while.Maybe something like this:http://www.autoitscript.com/forum/index.ph...c=15427&hl= Edited June 25, 2007 by SpookMeister [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now