hoov Posted September 4, 2008 Share Posted September 4, 2008 (edited) My university requires dorm computers to use Cisco's Clean Access Client which looks something like this:The client logs out whenever a computer goes into sleep mode or restarts so I'm trying to automate logins. My code, however refuses to cooperate...I used the window detection tool to find the CLASS code for the Username, Password and Confirmation buttons - I just don't know how to trigger them. Also any suggestions on how to have the script ready to re-login would also be helpful. Here's my code: WinWaitActive("Cisco Clean Access Agent") WinWaitActive("[CLASS:Usernamebox]") send("yourusername") WinWaitActive("[CLASS:Passwordbox]") send("yourpass") WinWaitActive("[CLASS:ConfirmButton]") send("{enter}") sleep(300) WinWaitActive("[CLASS:Confirmbutton2]") send("{enter}")Thanks. Edited September 4, 2008 by hoov Link to comment Share on other sites More sharing options...
hoov Posted September 4, 2008 Author Share Posted September 4, 2008 bump. Link to comment Share on other sites More sharing options...
BrettF Posted September 4, 2008 Share Posted September 4, 2008 Take a look at ControlSend. Also please refrain from bumping your topics for at least 24 hours.Cheers,Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! 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