PerryRaptor Posted February 9, 2007 Share Posted February 9, 2007 This is difficult to describe... The main.exe does not have a problem activating a window and it doesn't matter if the window is covered up by another or minimized. The sub-script.exe that is invoked via the Run() command is not able to activate or set the focus of the window. I think the sub-script.exe needs so type of Do...While loop that will keep the window activated and in focus. The sub-script.exe is a count-down timer...Using WinSetState(), WinActivate() , ControlFocus(), ControlCommand(), and ControlClick(). Sub-script.exe takes one argument, 1 or 2 digt number, representing minutes. I use math operators to achieve segmented posting of the remaining time in an edit box on the window that I'm having trouble with. I do not want the main.exe to be paused by the operation of a timer. Is there a limitation that a window can not be operated by more than one compiled AutoIT script? Link to comment Share on other sites More sharing options...
PerryRaptor Posted February 10, 2007 Author Share Posted February 10, 2007 I guess this constitutes multiple threads and reading elsewhere not supported. 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