Jump to content

Recommended Posts

Posted

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

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
×
×
  • Create New...