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,212)


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)