The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wait for multiple windows or controls created, enabled, etc
#1
Macro WaitWinMulti help
Code:
Copy      Help
;Waits for multiple top-level or child windows.
;At first call an AddX function to define windows to wait for. Call it for each window.
;Then call a WaitX function to wait for a condition.

;This is common to all WaitX functions:
;;;;Return 1-based index of the added window that satisfies the wait condition.
;;;;Succeed if the condition is true when called.
;;;;Use opt waitmsg and opt hidden.

;EXAMPLES

#compile "__WaitWinMulti"
WaitWinMulti x
x.AddWin("Notepad")
x.AddWin("" "" "WORDPAD")
sel x.WaitActive
,case 1 out "notepad"
,case 2 out "wordpad"


Attached Files
.qml   WaitWinMulti.qml (Size: 9.06 KB / Downloads: 1,114)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)