Jump to content
Sign in to follow this  
floker

If condition => warning message

Recommended Posts

floker

Hi,

I have a little problem with an installation script.

The script is to automate the installation of Roxio Creator.

Depending on wich pc it will be installed in our organisation it will give a warning message during the installation.

My question is : is it possible to have some kind of If condition to check if there is a warning or not. In both cases the installation should continue. But if there is a warning I have to put an extra Send("{ENTER}") in my script but the idea is to hit ENTER only if there is a warning...

it would be something like this :

------------------------------

installation

if warning then

send("{ENTER}")

Endif

installation

--------------------------------

Can someone help?

thx

Share this post


Link to post
Share on other sites
MisterBates

My question is : is it possible to have some kind of If condition to check if there is a warning or not. In both cases the installation should continue. But if there is a warning I have to put an extra Send("{ENTER}") in my script but the idea is to hit ENTER only if there is a warning...

Take a look at the help for "WinWait" (with a timeout). You may also need the option "WinSearchChildren" to pickup the warning window, as it's probably a child window.

MisterBates

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  

×