Guest wembley Posted January 14, 2005 Share Posted January 14, 2005 Okay, I'm attempting to automate a setup.exe - but up pops a window with no name. It has visible text - but WinExists and WinActivate are picking up any old random window that appears to exist - I've stopped that now by changing to WinTitleMatchMode 2 - but I can't get WinExists or WinActivate to detect the unnamed window. Any idea's? Thanks, Dave Link to comment Share on other sites More sharing options...
MHz Posted January 14, 2005 Share Posted January 14, 2005 Maybe just WinWaitActive("", "I am the needed text only") ? Link to comment Share on other sites More sharing options...
Guest wembley Posted January 14, 2005 Share Posted January 14, 2005 Unfortunately that, depending on whether WinTitleMatchMode is 1 or 2, either a) matches _any_ window or matches no window. Dave Link to comment Share on other sites More sharing options...
this-is-me Posted January 14, 2005 Share Posted January 14, 2005 Look at WinTitleMatchMode on 4 and use the Window info in the startmenu to find the classname. Who else would I be? Link to comment Share on other sites More sharing options...
Guest wembley Posted January 14, 2005 Share Posted January 14, 2005 Doh! Fixed it - didn't realise that the WinTitleMatchMode was specific to the titles - thought it'd affect the text searchas well. Being stupid - thanks for the help. Cheers Dave Link to comment Share on other sites More sharing options...
Blue_Drache Posted January 14, 2005 Share Posted January 14, 2005 I been through the Windows On a Prompt with No Name It felt good to drop off the WAN .... Anyway.... the muse just hit me with a frying pan.... Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache 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