Cybertronic Posted July 23, 2005 Share Posted July 23, 2005 If I run my AutoIT script/executable during the RunOnceEx stage, I use WinWaitActive and WinClose to close the windows, but the window does not appear until the RunOnceEx sequence has finished which means the script pauses as the window doesn't pop up yet which also prevents RunOnceEx to continue onto the next installation WinWaitActive("C:\Documents and Settings\All Users\Start Menu\Programs\PowerQuest PartitionMagic 8.0",'')WinClose("C:\Documents and Settings\All Users\Start Menu\Programs\PowerQuest PartitionMagic 8.0",'')Can anyone please help me on this? Link to comment Share on other sites More sharing options...
Cybertronic Posted July 23, 2005 Author Share Posted July 23, 2005 I've just tried installing using WinRar's SFX feature, it works great Is there no delete button for posts on these forums? Link to comment Share on other sites More sharing options...
Nologic Posted July 24, 2005 Share Posted July 24, 2005 Well you could have also placed the script dead last to be executed, then instead of start wait....you just start it...which would mean that runonce would exit as soon as the script is executed and the script would catch the window correctly like it should.Any ways good that you found a work around all the same. 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