> The first item must be a simpler integer.
> wait.until(123, expression)
> 
> What are you to do witht he above wait.until?

I have a software that starts minimized to tray 
but still has its window among Active Buttons,
so that win.trayminned(capti) returns 1.
And sometimes the software starts not minimized –
for this case I wrote
win.visible(win.handle(capti)) – I wanna to minimize it
when it starts up first time.
This script is a part of PowerPro startup script.
One launches the software and tries to close its window in both cases.
After the window is closed, the software stays in tray.

If I put the window to excludes list of Active Buttons list – I won't see 
it when I normally use the application.

Is visiblewindow(capti) equal to win.visible(win.handle(capti))?
I want to close the window in both cases,
and dont wanna do this by using HookWindowEvents.
_____________________________________
Life in Windows without pp is black & white.


Reply via email to