Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to enumerate and close windows
#1
How would I enumerate (and close) all windows (all word windows)? I know it is not one of the following .

int w6=win("$^.*Microsoft Word$")
int w
foreach w w6
clo w

int w, h
foreach w wintest(h,"$^.*Microsoft Word$")
clo w

Thanks
#2
Code:
Copy      Help
rep
,clo "Microsoft Word"; err break
#3
Thank-you. Problem solved! With every problem solved, I appreciate more, the robustness of QM scripting. The great way you treat "customers", though, is as important as the first reason for buying and using QM.

Bob


Forum Jump:


Users browsing this thread: 3 Guest(s)