Ultratech Posted February 16, 2007 Share Posted February 16, 2007 My first problem is when I activate a window (Diablo II and Diablo 2 if it matters) it sometimes locks, whenever I click on it it doesn't open. Is there like a focus problem or something? My second question is I have a script with 3 functions. One of those functions runs an endless loop. How would I exit that loop by triggering another function? Don't have a script to post right now because it's kind of messed up. Link to comment Share on other sites More sharing options...
Shevilie Posted February 16, 2007 Share Posted February 16, 2007 Code Please Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Ultratech Posted February 16, 2007 Author Share Posted February 16, 2007 WinActivate("Diablo 2") WinWaitActive("Diablo 2") some stuff here... WinActivate("Diablo II") WinWaitActive("Diablo II") some stuff here... This is what the window part looks like, it supposed to switch to my second window, run some commands then switch to the other window and do the same but once in a while the second window locks. Link to comment Share on other sites More sharing options...
BrettF Posted February 16, 2007 Share Posted February 16, 2007 Full Code maybe?? 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...
Moderators SmOke_N Posted February 16, 2007 Moderators Share Posted February 16, 2007 Use handles. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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