Hello sgp,
you wrote...
> How can I do my toggle then? I want to minimize a window only if it's got
> the focus, not simply if it's visible.
Use,
If (ActiveWindow(handle)) Do
or
If (Win.Handle("Active") == handle) Do
instead of
if(win.getfocus == handle) Do
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/