Jump to content
Sign in to follow this  
MostafaMohamed

ho can i use autoit to manually update avira free

Recommended Posts

MostafaMohamed

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 ?

Share this post


Link to post
Share on other sites
MostafaMohamed

any help please

Share this post


Link to post
Share on other sites
MostafaMohamed

:oops: im sorry ,

waiting

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  

×