K
Kim Ward
Guest
Probably something like this (disclaimer: I've not tested this). Perhaps you'll need to modify it to run recursively if you want to get every window. define variable hWindow as handle NO-UNDO. assign hWindow = Session:handle:first-child. do while hWindow <> ?: if lookup(hWindow:type, "WINDOW,DIALOG-BOX") <> 0 then do: /* do whatever you need to do */ end. assign hWindow = hWindow:next-sibling. end.
Continue reading...
Continue reading...