hward Posted October 13, 2006 Share Posted October 13, 2006 I am relatively new to AutoIt, but have managed to find solutions from help or these forums for everything I need except this one. I am clicking an image that opens another web page using the following: _IEImgClick ($oFrame, "https://alinea.inmar.com/alinea/images/adddocument.gif") This creates a modal dialog using javascript "showModalDialog": function AddDoc () { var retVal; retVal = showModalDialog("docex/docx_rep2.asp",'newdocx','dialogWidth:330px;dialogHeight:445px;status:no;scroll:no'); if (retVal == "ok") { sParm = ""; //Submit request for Doc X docXsubmitAsync (sParm); return; } } I have my AutoIt options set like this: Opt ("WinDetectHiddenText", 1) Opt ("WinSearchChildren", 1) Opt ("MustDeclareVars", 1) I have tried everything I can think of or find in the help, but when the _IEImgClick executes, the dialog opens, but the script freezes at that point until the dialog is manually closed. How can I get access to this page and keep the script running? Link to comment Share on other sites More sharing options...
cannibaloid Posted January 18, 2007 Share Posted January 18, 2007 i got this problem too.... anyone give the recipe? _IEAttach doesn't work.(or may i can do something wrong) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now