Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Waiting for Window
#1
I would like to know the difference on the codes below please.


Code:
Copy      Help
0 win("My Window" "#32770")

; or

0 id(1 "My Window")

Both codes waits for "My Window" to be active. Which one is faster or more reliable?


Thank you very much
#2
First command waits for window.

Second command waits for focused control in existing window. For example, it can wait until you click an edit control, and then paste text into the control.


Forum Jump:


Users browsing this thread: 1 Guest(s)