Hoth2001 Posted September 9, 2017 Share Posted September 9, 2017 I'm trying to do Winwait for a window and then after the window appears Send("SPACE") in order to select OK. Unfortunately, this window does not have a title. There is some text in the window I've tried to leave the window title parameter blank and use the window text parameter..... but that doesn't work Winwait('',"OK Data calculated successfully") WinActivate('',"OK Data calculated successfully") Send("{SPACE}") See attached pics of 1. What the window I'm trying to wait for looks like 2. The window information available Link to comment Share on other sites More sharing options...
Simpel Posted September 9, 2017 Share Posted September 9, 2017 Hi. Could be that you have to delete OK and following space? Winwait('',"Data calculated successfully") WinActivate('',"Data calculated successfully") Send("{SPACE}") Conrad SciTE4AutoIt = 3.7.3.0 AutoIt = 3.3.14.2 AutoItX64 = 0 OS = Win_10 Build = 19044 OSArch = X64 Language = 0407/german H:\...\AutoIt3\SciTE H:\...\AutoIt3 H:\...\AutoIt3\Include (H:\ = Network Drive) Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. Link to comment Share on other sites More sharing options...
Hoth2001 Posted September 9, 2017 Author Share Posted September 9, 2017 Well..I added the "OK " text because that was what was listed in the Window Text information (see image attached) I tried it by removing the "OK " and it still didn't work though hmmmm........any other ideas? Link to comment Share on other sites More sharing options...
MagnumXL Posted September 9, 2017 Share Posted September 9, 2017 Try WinWaitActive("[CLASS:#32770]","Data calculated successfully") Link to comment Share on other sites More sharing options...
Hoth2001 Posted September 9, 2017 Author Share Posted September 9, 2017 That worked! Thanks!! 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