Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Formatting code
#5

Using window handles would clean up your code alot.

To get the handle of an item.

Use the toolbar at the top of QM> Find Window or Control.


Code:
Copy      Help
int hwnd=id(15 win("Untitled - Notepad" "Notepad"))

if(IsWindowVisible(hwnd))
,out 1
else
,end


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)