floker Posted June 7, 2007 Share Posted June 7, 2007 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 More sharing options...
Zedna Posted June 7, 2007 Share Posted June 7, 2007 Look at AdLibEnable() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
MisterBates Posted June 7, 2007 Share Posted June 7, 2007 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 [u]MisterBates[/u]_____________________________________________________Suspend/Resume Windows ScreensaverWatchWindows - Window watcher/loggerUDF: Click systray menu/submenu itemsUDF: Outlook Express Folder/Message handling (+ example code)HowTo: Multiple icons in one compiled script Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now