Jump to content
Sign in to follow this  

problem with confirmation window

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)
$oForm = _IEFormGetObjByName ($oIE, "newa")
$oQuery = _IEFormElementGetObjByName ($oForm, "NewOrd")
_IEAction ($oQuery, "click")

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

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

i will be obliged by any help

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