Sign in to follow this  
Followers 0
Ghost21

Hide a Window that is already running

3 posts in this topic

When I start a program and its in the taskbar I want to hide it. So if it either times out or they move off of the area with the mouse it hides ?

Any Direction in a way to look would be great..

Share this post


Link to post
Share on other sites



When I start a program and its in the taskbar I want to hide it. So if it either times out or they move off of the area with the mouse it hides ?

Any Direction in a way to look would be great..

Straight from the help file...

WinSetState 
--------------------------------------------------------------------------------

Shows, hides, minimizes, maximizes, or restores a window.


WinSetState ( "title", "text", flag )


Parameters

title The title of the window to show. See Title special definition. 
text The text of the window to show. 
flag The "show" flag of the executed program:
[b]@SW_HIDE = Hide window[/b]
@SW_SHOW = Shows a previously hidden window
@SW_MINIMIZE = Minimize window
@SW_MAXIMIZE = Maximize window
@SW_RESTORE = Undoes a window minimization or maximization
@SW_DISABLE = Disables the window
@SW_ENABLE = Enables the window

Instant Lockerz Invite - www.instantlockerzinvite.co.uk

Share this post


Link to post
Share on other sites

Straight from the help file...

WinSetState 
--------------------------------------------------------------------------------

Shows, hides, minimizes, maximizes, or restores a window.


WinSetState ( "title", "text", flag )


Parameters

title The title of the window to show. See Title special definition. 
text The text of the window to show. 
flag The "show" flag of the executed program:
[b]@SW_HIDE = Hide window[/b]
@SW_SHOW = Shows a previously hidden window
@SW_MINIMIZE = Minimize window
@SW_MAXIMIZE = Maximize window
@SW_RESTORE = Undoes a window minimization or maximization
@SW_DISABLE = Disables the window
@SW_ENABLE = Enables the window
How does that work for a Remote Window on the PC ?

Can I psexec the WinSetState ( "title", "text", flag ) ??

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0