Jump to content

Recommended Posts

Posted

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? :blushing::thumbup


Posted

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. :)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...