Jump to content

Recommended Posts

Posted

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}" )

EXIT

And 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.

post-44055-1124286895_thumb.jpg


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