Tri Posted November 27, 2007 Share Posted November 27, 2007 Hi, I'm new to software development and found autoit quite easy to develop my own functions and program. I have 1 quick question. I have program 1 and 2 running. I am running program 2 at the moment. I'd like to be able to switch to program 1 as active program and do some functions after a certain time and change back to program 2 to continue my work. Does this look like it: WinActive("program 1") [function] WinActive("program 2") Sleep(100000) Link to comment Share on other sites More sharing options...
John117 Posted November 27, 2007 Share Posted November 27, 2007 Is there a reason you can't combine the two? -willing to help if needed. Link to comment Share on other sites More sharing options...
Tri Posted November 27, 2007 Author Share Posted November 27, 2007 (edited) How do you mean by combining the 2? I sorted figure out to use WinActivate but how do I 'unWinActivate' it to the window I was working on? Edited November 27, 2007 by Tri 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