Sign in to follow this  
Followers 0
rejectpenguin

Minimize a window.

3 posts in this topic

Just need to know the code to minimize a window by window name. Also is there a way to minimize all windows with the same name? K thanks.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

example.. you can test it right now:

this activates this topic window and minimizes again :ph34r:!

WinActivate("Minimize a window");activates the window your in now
Sleep(2000);pause for 2 seconds
WinSetState("Minimize a window", "", @SW_MINIMIZE);minimize this window

Thnk :lmao:

Edited by AceLoc

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

example.. you can test it right now:

this activates this topic window and minimizes again :lmao:!

WinActivate("Minimize a window");activates the window your in now
Sleep(2000);pause for 2 seconds
WinSetState("Minimize a window", "", @SW_MINIMIZE);minimize this windowoÝ÷ Ù8gêæú®¢×ºÓ©¶«¨µh§N+exÆ­r(uꮢݨÚ)¡ûazÇ+_¢¶©j»bj[b¶W°whÂf­rÞ}«¥¶+5Âf­r¬¶­Ù^~º&¶¬µªíjëh×6Opt("WinTitleMatchMode", 2)
WinActivate("Minimize a window");activates the window your in now
Sleep(2000);pause for 2 seconds
WinSetState("Minimize a window", "", @SW_MINIMIZE);minimize this window

Edit: I had it wrong, sorry Ace :ph34r:

Edited by Manadar

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