Ghastly_MIB Posted August 23, 2005 Share Posted August 23, 2005 Hey all, How can I select my previous window that I selected? Something like ALT+TAB. I would not like to use the SEND command. Thanks, Ghastly_MIB Link to comment Share on other sites More sharing options...
BigDod Posted August 23, 2005 Share Posted August 23, 2005 You could use WinActivate assuming you knew the name of the window. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Ghastly_MIB Posted August 24, 2005 Author Share Posted August 24, 2005 I will give an example: I select my GUI and press a button. That button must deactivate of maximize my previous window. How can I do that? Link to comment Share on other sites More sharing options...
LxP Posted August 24, 2005 Share Posted August 24, 2005 How about running a loop that keeps track of the active window? Here's some pseudo-code that you could run using AdLibEnable():; start of script local $win opt("winTitleMatchMode", 4) adLibEnable("rememberWindow", 250) ; GUI loop code here... ; maximising code: winSetState($win, "", ...) func rememberWindow() if (the active window isn't my script) then $win = winGetHandle("active") endFunc Link to comment Share on other sites More sharing options...
jdickens Posted August 24, 2005 Share Posted August 24, 2005 (edited) This was on the forums a month or two ago. Here is the link to the previous posts:http://www.autoitscript.com/forum/index.ph...867entry77867Not clear that it was ever totally resolved.J Edited August 24, 2005 by jdickens If I am too verbose, just say so. You don't need to run on and on. Link to comment Share on other sites More sharing options...
Ghastly_MIB Posted August 24, 2005 Author Share Posted August 24, 2005 Thanks guys Does anyone maby know how I can make 2 desktops? With a button it removes all the windows and show others And by clicking one more time it should switch everything back? Something like Private Desktop and Boss Key Link to comment Share on other sites More sharing options...
LxP Posted August 24, 2005 Share Posted August 24, 2005 This would best be discussed in a new thread so that it is better noticed and more easily searchable in the future. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now