Tarabas Posted February 6, 2008 Share Posted February 6, 2008 (edited) Hey everyone! I'm new to Autoit and I'm trying to make a GUI that, in the fastest speed possible, login an online game through the login screen, etc. I've got the GUI to respond and everything. However, there is a page where as I have to wait for it to fully load, then click on a checkbox, and then proceed. Is there a way to make Autoit wait until the checkbox appears before clicking it? I use the "sleep" command but sometimes it takes longer to load so it doesn't always work. After that, theres another page where i need to wait for a button(saying "start") to become active before I click it(it would be all in gray if its inactive). I know there are a lot of skilled programmers here and I'm sorry if I sound really stupid. All the help needed! Thank you. Edited February 6, 2008 by Tarabas Link to comment Share on other sites More sharing options...
Kip Posted February 6, 2008 Share Posted February 6, 2008 _IECreate, and set it so that it will wait until the page is loaded. Check helpfile MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Tarabas Posted February 6, 2008 Author Share Posted February 6, 2008 Sorry but ur getting the wrong picture. Maybe Im not explaining it in details. The page is in a window and not loaded in an Internet Explorer. Its the game login window and in that window, it has a checkbox. I think I'll try pixelsearch and see if it works... Link to comment Share on other sites More sharing options...
whim Posted February 6, 2008 Share Posted February 6, 2008 Why don't you start off by running running AutoIt's Window Info Tool on the Window you're trying to control (Helpfile -> Using AutoIt -> Window Info Tool) ( PixelSearch to control a Window should normally only be used as a last resort ) Combining this info with the many Win.....() functions provided by AutoIt should get the job done. 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