bonesz100 Posted March 1, 2007 Share Posted March 1, 2007 I was wondering if there is a way to write a multitreaded script?Here's what I'm needing to do (perhaps there is an easier snipit already written)Purpose: The script is an automated Oracle InstallProblem: Ocassionally the installation process fails when attempting to install from our installation server.When the installation DOES fail it pops up an error window with Title of "Error Information"Here's a snipit of what I have: WinWait("Oracle Installation Settings") WinActivate("Oracle Installation Settings") ControlCommand("Oracle Installation Settings", "", 1010, Send("Company")) ;Changes the company name to Company Sleep(1000) ControlClick("Oracle Installation Settings", "", 1) ;Clicks on the OK button WinWait("Select Installation Options") WinActivate("Select Installation Options") ControlClick("Select Installation Options", "", 1019) ;Selects Oracle Client Installation Sleep(1000) ControlClick("Select Installation Options", "", 1) ;Selects OK to begin install WinWait("Select Oracle8 Client Configuration") WinActivate("Select Oracle8 Client Configuration") ControlClick("Select Oracle8 Client Configuration", "", 1018) ;Selects Application User Sleep(1000) ControlClick("Select Oracle8 Client Configuration", "", 1) ; Selects OK WinWait("Installing Oracle Documentation") WinActivate("Installing Oracle Documentation") ControlClick("Installing Oracle Documentation", "", 1018) ;Selects CD-ROM Sleep(1000) ControlClick("Installing Oracle Documentation", "", 1) ; Selects OKIs there a way to go about constantly checking for this error window while the other part of the script is Waiting for the various Oracle Screens to pop up? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 1, 2007 Moderators Share Posted March 1, 2007 http://www.autoitscript.com/forum/index.php?showtopic=33373As an alternative, you may look at AdlibEnable() or /AutoIt3ExecuteScript 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