COM Objects (maybe OT)

Discussion in 'Python' started by Emiliano, Mar 1, 2004.

  1. Emiliano

    Emiliano Guest

    Hi everibody,
    does anyone know ho to simulate the pressure of "yes" Button in message
    boxes appearing in client certificate-based authentication of Internet
    Explorer ?

    I have this code....

    def aspetta(ie):
    "Dato un oggetto IE , aspetto finche' l'oggetto รจ pronto per l'input."
    #print "\tIE Occupato"
    while ie.Busy:
    print "\t->",
    time.sleep(1)
    doc = ie.Document
    while doc.ReadyState != 'complete':
    print "\t->.",
    time.sleep(0.2)
    #print "\tIE Completato"
    return doc

    ie = win32com.client.Dispatch("InternetExplorer.Application")

    ## NEED CODE HERE TO CLICK ON YES BUTTO OF CERTIFICATE BASED
    AUTHENTICATION ...

    aspetta(ie)
    etc etc etc....

    Do you know ho to solve this problem?


    Bye.
    Emil.
     
    Emiliano, Mar 1, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike
    Replies:
    1
    Views:
    2,184
  2. Efy.
    Replies:
    2
    Views:
    1,120
  3. Guest
    Replies:
    5
    Views:
    640
  4. Ville Vainio
    Replies:
    11
    Views:
    636
    Hamish Lawson
    Aug 10, 2004
  5. 7stud
    Replies:
    11
    Views:
    750
    Dennis Lee Bieber
    Mar 20, 2007
Loading...

Share This Page