Jump to content

Recommended Posts

Posted

hi :)

im using autoit to manually update avira antivirus

first : autoit cant recored anything from avire ( i think bc avira folder id read only :( )

so that i tried to make my own autoit commands

my code is :

Run('C:\Program Files\Avira\AntiVir Desktop\avcenter.exe')
WinWait("Avira Free Antivirus","Your computer is not secure!")
If Not WinActive("Avira Free Antivirus","Your computer is not secure!") Then WinActivate("Avira Free Antivirus","Your computer is not secure!")
WinWaitActive("Avira Free Antivirus","Your computer is not secure!")
Send("{ALTDOWN}")
Send("{U}")
Sleep(200)
Send("{M}")
Send("{ALTUP}")
Sleep(200)
WinWait("Open","ComboBox")
If Not WinActive("Open","ComboBox") Then WinActivate("Open","ComboBox")
WinWaitActive("Open","ComboBox")
Send("C:\vdf_fusebundle.zip")
Send("vdf_fusebundle.zip")
Send("{ENTER}")
WinWait("Avira Free Antivirus","Your computer is not secure!")
If Not WinActive("Avira Free Antivirus","Your computer is not secure!") Then WinActivate("Avira Free Antivirus","Your computer is not secure!")
WinWaitActive("Avira Free Antivirus","Your computer is not secure!")
Send("{ALTDOWN}")
Send("{F4}")
Send("{ALTUP}")

but that code stope at the browse window and didnt select the file

can you help please ?

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