Jump to content

If condition => warning message


Recommended Posts

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

Link to comment
Share on other sites

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

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