Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create dialog and interact with it
#16
Macro Macro2173
Code:
Copy      Help
;set a window property
int w1=win("Untitled - Notepad" "Notepad")
int w2=win("Calculator" "CalcFrame")
SetProp w1 "dummy_prop" 1
SetProp w2 "dummy_prop" 1
;_______________________________

;find all windows that have the property
ARRAY(int) a; int i
opt hidden 1
win("" "" "" 0x0 "GetProp=dummy_prop" a)
opt hidden 0
for(i 0 a.len) outw a[i]


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)