Search the web
Sign In
New User? Sign Up
power-pro · Free discussion list for PowerPro users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Show/Hide a windows   Message List  
Reply | Forward Message #34394 of 36658 |
Re: Show/Hide a windows

Even if the windows is visible you can call win.show().

I use the folowing script to ShowOrRun a program.

args request, pgm
local hWnd= Win.Handle(request)

if ( win.exists(hwnd) == 1 ) do
win.show(hwnd)
elseif ( pgm != "" )
file.runwait(0,pgm)
endif


If you wnt to detect minimized windows, you can use win.minned or
win.trayminned.






Tue Jan 13, 2009 7:40 pm

nospam0123456us
Offline Offline
Send Email Send Email

Forward
Message #34394 of 36658 |
Expand Messages Author Sort by Date

Hi, I was trying to do something that I thought would be very easy :( I wanted to write a script that would allow me to pass an argument to it and would then...
foxy_foobar
Offline Send Email
Jan 13, 2009
6:04 pm

Even if the windows is visible you can call win.show(). I use the folowing script to ShowOrRun a program. args request, pgm local hWnd= Win.Handle(request) if...
nospam0123456us
Offline Send Email
Jan 13, 2009
7:41 pm

- ... Just to build on that point: the window visibility is different from whether the window is min/normal/max. It can be in any combination of ...
brucexs
Offline Send Email
Jan 13, 2009
11:44 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help