Muzzikap Posted January 17, 2005 Share Posted January 17, 2005 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 Link to comment Share on other sites More sharing options...
trids Posted January 17, 2005 Share Posted January 17, 2005 Check out the helpfile on ProcessWaitClose and WinWaitClose. Perhaps this is what you're after?HTH Link to comment Share on other sites More sharing options...
Muzzikap Posted January 17, 2005 Author Share Posted January 17, 2005 (edited) 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 commandOpt("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 bothOpt("WinTitleMatchMode", 2) WinWait("Reparatie gelukt")Edit:Check out the helpfile on ProcessWaitClose and WinWaitClose. Perhaps this is what you're after?HTH <{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. thanx for your help perhaps you can help me even more 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 WEndIf anybody knows another (more efficient) solution please let me know Edited January 17, 2005 by Muzzikap 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