Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find All Open Programs
#2
This code displays names of all non popup windows except QM. Uncomment last command to close these windows. Taskbar and other inportant explorer's windows are popup and therefore skipped by setting flag 4. This code requires one of latest QM versions.

Code:
Copy      Help
ARRAY(int) a
GetWindowList 0 0 1|4 0 0 a
int i h
for i 0 a.len
,h=a[i]
,if(h=_hwndqm) continue
,out _s.getwintext(h)
,;clo h


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)