muralla Posted January 31, 2011 Share Posted January 31, 2011 Hi all ¡¡¡ I want winwait for one window... In one case it can be window A and in the other case it can be window B I have tryed using winwait windowa OR winwait windowb but it not works. Can anyone help me with a easy code to solve this? Thanks all¡¡¡ Link to comment Share on other sites More sharing options...
JohnOne Posted January 31, 2011 Share Posted January 31, 2011 Hi all ¡¡¡I want winwait for one window... In one case it can be window A and in the other case it can be window BI have tryed using winwait windowa OR winwait windowb but it not works.Can anyone help me with a easy code to solve this?Thanks all¡¡¡Maybe you are doing something wrong.care to post your code? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
martin Posted January 31, 2011 Share Posted January 31, 2011 Hi all ¡¡¡ I want winwait for one window... In one case it can be window A and in the other case it can be window B I have tryed using winwait windowa OR winwait windowb but it not works. Can anyone help me with a easy code to solve this? Thanks all¡¡¡ Maybe while 1 if WinExsts(windowa) or WinExists(windowB) then break; sleep(300) wend Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
JohnOne Posted January 31, 2011 Share Posted January 31, 2011 Maybe while 1 if WinExsts(windowa) or WinExists(windowB) then break; sleep(300) wend You forgot to add parameter for Break() martin AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
MHz Posted February 1, 2011 Share Posted February 1, 2011 I just replied to a similar question with example code.You can use Advanced Window Titles and Text handling as mentioned in the help file to handle multiple window titles at once. Link to comment Share on other sites More sharing options...
martin Posted February 1, 2011 Share Posted February 1, 2011 You forgot to add parameter for Break() martin No I didn't, it was worse than that! I forgot what language I was using. What I meant was ExitLoop not break. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the 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