Jump to content
Sign in to follow this  
ryantollefson

Deactivate a window?

Recommended Posts

ryantollefson

I know how winactivate works, what I'm wondering is if there is a deactivate? Is there a way to make a window no longer the active window without minimizing or hiding it?

When you have a window that is active, and then you click on empty space on the start bar & the window title greys out, that's what I want to do to a window.

Share this post


Link to post
Share on other sites
Monamo

I know how winactivate works, what I'm wondering is if there is a deactivate? Is there a way to make a window no longer the active window without minimizing or hiding it?

When you have a window that is active, and then you click on empty space on the start bar & the window title greys out, that's what I want to do to a window.

Rather than setting another window as active (since the available window list will vary) try:

WinActivate("Program Manager")

- MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup]

Share this post


Link to post
Share on other sites
ryantollefson

Rather than setting another window as active (since the available window list will vary) try:

WinActivate("Program Manager")
Thanks, that did the trick :)

Share this post


Link to post
Share on other sites
Xibalba

What is "Program Manager"?

Or rather, how exactly does the WinActivate function handle the focus setting in this case?

Share this post


Link to post
Share on other sites
bogQ

Its desktop :)

Title of desktop window that is :)

It handle it like you click on your desktop and lose other win activity.

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

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  

×