Jump to content

Still Problems With("security Warning","you Are About To Install A Cer")


Recommended Posts

Hey, I have posted quite i few times about this problem. It seems as this problem does not want to be solved.

Some times my autoscritp click at the right button but most of the times it does not. it seems like this security warning window is very difficult to autoscript. I have tried following

if WinExists("Security Warning","You are about to install a cer") Then
                     WinWait("Security Warning","You are about to install a cer")
                     if NOT WinActive ( 'Security Warning', 'You are about to install a cer' ) then
                         WinActivate ( 'Security Warning' )
                         endif
                     Send("{ALTDOWN}y{ALTUP}")
                    ;ControlClick("Security Warning","You are about to install a cer","Button1")
                 EndIf

or

if WinExists("Security Warning","You are about to install a cer") Then
                     WinWait("Security Warning","You are about to install a cer")
                     if NOT WinActive ( 'Security Warning', 'You are about to install a cer' ) then
                         WinActivate ( 'Security Warning' )
                         endif
                                          sleep(2000)                   
                                          Send("{ALTDOWN}y{ALTUP}")
                                          sleep(2000)
                    ;ControlClick("Security Warning","You are about to install a cer","Button1")
                 EndIf

I have also tried other combinations like send +tab enter

please help me out I have no clue what so ever what is wrong.

Link to comment
Share on other sites

Next time - please locate your old posts and add what is called a "bump" to that thread. Just post a reply to the end of it with something like "anyone?"... That will bump it to the top of the forum for those who happen to be on to see.

...you only have a few posts for me to dig thru:

http://www.autoitscript.com/forum/index.ph...ndpost&p=165588

...and that mentions some of what you have tried - it is a good history.

Might I suggest that you copy/paste the contents of the "AutoIt Window Info" for the window of interest into your next post? (post it to that other thread - let this one die...)

[size="1"][font="Arial"].[u].[/u][/font][/size]

Link to comment
Share on other sites

  • Moderators

Send('!y') might be better there?

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.

Link to comment
Share on other sites

so much for "let this one die..."

I should have posted to the first thread...

I did not see in that other post (or this one) where ControlFocus was tried before ControlClick.

From the help file for ControlClick:

The control might first need to be given focus with the ControlFocus command.

If that does not work, post the contents of the info window.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...