Jump to content

Recommended Posts

Posted (edited)

Hi There,

 

I'm struggling with an embedded IE in a GUI.
Trying to automate some buttons to go to 2 different sites with a button.

In my GUI I have a IE embedded with _IECreate2 from here
But when I try to navigate it does not allow me to go anywhere.

 

--> IE.au3 T3.0-2 Warning from function _IELoadWait, $_IESTATUS_AccessIsDenied (Cannot verify readyState.  Likely casue: cross-domain scripting security restriction. (-2147024891))

 

Edited by DaLiMan
Posted

Hi Danp2,

Yes, that was my first try.
However, I was not able to solve how to resize the _IE frame along with the parent window.

Also sending keys to this embedded IE was not working from my script (behind a button) and it looks like it's somehow not a complete IE or something.
usernames and passwords are not remembered etc.



 

Posted

Have you try to navigate to a common site like google.com ? From the cross - domain error that you get i guess you are trying to navigate and landing on security restrictions.

Posted
On 18-9-2018 at 11:06 AM, Juvigy said:

Have you try to navigate to a common site like google.com ? From the cross - domain error that you get i guess you are trying to navigate and landing on security restrictions.

Yes, I tried all sorts of websites.

 

Finally yesterday I ....(STUPID ME!)... found out I did not declare the variable of $oIE right.

It was set locally in another function.  :>

 

So this was a real waste off time.

But thanks for the reply

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...