Sign in to follow this  
Followers 0
bonesz100

MultiTreading?

2 posts in this topic

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?

Share this post


Link to post
Share on other sites



http://www.autoitscript.com/forum/index.php?showtopic=33373

As an alternative, you may look at AdlibEnable() or /AutoIt3ExecuteScript


[center]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.[/center]

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  
Followers 0