Jump to content

Recommended Posts

Posted

Hey, I am almost done with my automation for certificates. But I have one mayor problem left. When I have finished the installation of cacert.pem I get a Security Warning saying

You are about to install a certificate from a certification authority (CA) claiming to represent:

..

..

..

Do you want to install this certificate?

Yes No

Posted

Ups I forgot the rest of my topic :)

When I have finished the installation of cacert.pem I get another window Security Warning Saying:

You are about to install a certificate from a certification authority (CA) claiming to represent:

..

..

..

Do you want to install this certificate?

Yes No

My problem is that I dont know how to get autoit to press the button yes to end the installation, Because I dont know how to identify this security window. Macrogenerator does not Identify the security Warning window ether.

  • Moderators
Posted

Or use WinList() + Opt('WinSearchChildren', 1)/ Class (classname=Class) + Opt('WinTitleMatchMode', 4)... maybe something like that if none of the above suggestions work.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

I can't get it working. Still problems with the Security Warning

i Tried

$CLVItem = ControlListView("Examples","Hyperlinks","SysListView321","FindItem","cacert.pem.crt")

ControlListView("Examples","Hyperlinks","SysListView321","SelectClear")

ControlListView("Examples","Hyperlinks","SysListView321","Select",$CLVItem)

WinWait("Guiden Certifikatimport","Importen blev udført.")

ControlClick("Guiden Certifikatimport","Importen blev udført.","Button1")

WinWait("Certifikat","Generelt")

ControlClick("Certifikat","Generelt","Button5")

winwaitactive("Security Warning", "")

controlclick ("Security Warning", "", "Button1", "left", 1)

and the next thing I tried was:

WinWait("Guiden Certifikatimport","Importen blev udført.")

ControlClick("Guiden Certifikatimport","Importen blev udført.","Button1")

WinWait("Certifikat","Generelt")

ControlClick("Certifikat","Generelt","Button5")

WinList()

Opt('WinSearchChildren', 1)/ Class (classname=#32770)

Opt('WinTitleMatchMode', 4)

but this gave me a syntax error please help a new bee to find out how to autoit this security warning

  • 7 months later...
Posted

Hi all,

I have the same problem with a Client Authentication window.

Its so urgent

Do you have any suggestions?

Thanks

Posted

i tried

Opt('WinSearchChildren', 1)/ Class (classname=#32770)

Opt('WinTitleMatchMode', 4)

with classname=32770 it didn't giveme a syntax error but still the function does not works

Please help

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