Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please help me with the multi windows task
#4
can be
win "part of window name without file name" "YYY" "ZZZ" 0 "" a
or
win "" "YYY" "ZZZ" 0 "" a ;;no window name, just class and/or program

To get ALL windows, better use GetMainWindows a, because win ... would also get taskbar, desktop and maybe some other unwanted windows.

Macro for testing what window gets GetMainWindows or win:
Macro Macro2696
Code:
Copy      Help
out
ARRAY(int) a
GetMainWindows a ;;this should get only windows that have taskbar button
;win "" "" "" 0 "" a ;;this would get several other windows too
int i
for i 0 a.len
,outw a[i]


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)