Nucleus Posted August 17, 2005 Share Posted August 17, 2005 Theoretically, the script is working. The problem is that when it gets to the second window, and has to enter the serial number, for some reason, after it enters the first 2 numbers, that window becomes inactive, and so the script cannot continue entering the serial number. Is there a workaround for this kind of problem?This is the autoit script i'm using.Run ( @ProgramFilesDir & "\Softwin\BitDefender8\bdmcon.exe" )WinWaitActive ( "BitDefender 8 Professional Plus - Evaluation" )Send ( "{ENTER}")WinWaitActive ( "BitDefender 8 Professional Plus - Registration" )Send ( "xxxxxxxxxxxxxxxx" )Send ( "{ENTER}" )WinWaitActive ( "Online Registration" )Send ( "{ALTDOWN}{F4}{ALTUP}" )WinWaitActive ( "Online Registration" )Send ( "{ENTER}" )EXITAnd this is the screenshot, after it has entered the first 2 numbers of the registration serial, but stoppped, because for a second there, the window became inactive. Link to comment Share on other sites More sharing options...
Nologic Posted August 17, 2005 Share Posted August 17, 2005 ripped code from the main script in the autoit thread...should ideally fix the problem.You can find the corrected version here [link] Link to comment Share on other sites More sharing options...
Nucleus Posted August 18, 2005 Author Share Posted August 18, 2005 Works perfectly. Thanks Nologic 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