Jump to content
Sign in to follow this  
Muzzikap

Interaction with the program Quickpar

Recommended Posts

I'm new to the program autoit.

I'm trying to automagically repair and unrar my downloaded files (newsgroups). But now I have got a question. how can I make my autoit script see when quickpar has finished verifying/repairing my files?

Quickpar

Share this post


Link to post
Share on other sites

Check out the helpfile on ProcessWaitClose and WinWaitClose. Perhaps this is what you're after?

HTH

:idiot:

Share this post


Link to post
Share on other sites

Right now I'm trying to read the Windows Title.

Using the WinWait command.

But when I run this script, the script never gets past the WinWait command

Opt("WinTitleMatchMode", 2)
WinWait("Reparatie gelukt" OR "Alle data geverifieerd")

If I don't use the OR operator it does work but for only one "statement".

And Í would like the program to wait for both

Opt("WinTitleMatchMode", 2)
WinWait("Reparatie gelukt")

Edit:

Check out the helpfile on ProcessWaitClose and WinWaitClose. Perhaps this is what you're after?

HTH

:idiot:

<{POST_SNAPBACK}>

ProcessWaitClose doesn't work because after Quickpar did his job the process doesn't.

WinWaitClose is the command I need but as you can see above it isn't working yet. :D

thanx for your help perhaps you can help me even more :lol:

Edit2:

Í solved the problem this way:

While 1
      $var1 = WinExists("Reparatie gelukt")
      $var2 = WinExists("Alle data geverifieerd")
      
      If $var1 = 1 Then
            MsgBox(4096, "WinExists(Reparatie gelukt)", $file)
            ExitLoop
      EndIf
      
      If $var2 = 1 Then
          MsgBox(4096, "Alle data geverifieerd", $file)
         ExitLoop
      EndIf
    WEnd

If anybody knows another (more efficient) solution please let me know

Edited by Muzzikap

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...