Jump to content

problem with confirmation window


 Share

Recommended Posts

Hi, gents,

i have a problem with the window which confirms an action

in the code exposed below nor message box nor button click do not function

confirmation window simply hangs and i cannot click "OK" button

#include "IE.au3"

$IEwinMsg="Message from webpage"

$oIE = _IECreate ("xxxxxxxxxxx",1)
bla-bla-bla
$oForm = _IEFormGetObjByName ($oIE, "newa")
$oQuery = _IEFormElementGetObjByName ($oForm, "NewOrd")
_IEAction ($oQuery, "click")

MsgBox(0,"trouble","this message doesn't appear")

WinWaitActive($IEwinMsg)
ControlSend($IEwinMsg,"","Button1","{Enter}") ;doesn't function

i will be obliged by any help

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