Jump to content
Sign in to follow this  


Recommended Posts


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 Install

Problem: 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


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


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


ControlClick("Select Oracle8 Client Configuration", "", 1) ; Selects OK

WinWait("Installing Oracle Documentation")

WinActivate("Installing Oracle Documentation")

ControlClick("Installing Oracle Documentation", "", 1018) ;Selects CD-ROM


ControlClick("Installing Oracle Documentation", "", 1) ; Selects OK

Is 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?

Share this post

Link to post
Share on other sites


As 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.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.