Jump to content

MultiTreading?


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

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...