Jump to content

AutoIT PartitionMagic 8 script


Recommended Posts

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

Link to comment
Share on other sites


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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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