Jump to content

Recommended Posts

Posted

Hi,

I'm trying to write a function that logs in to a website, which upon using the function _IECreate immediately gives me a popup to enter a username and a password. I've tried both attached examples, but in the first example the console returns:

--> IE.au3 V2.4-0 Warning from function _IEFormGetCollection, $_IEStatus_NoMatch

--> IE.au3 V2.4-0 Error from function _IEFormElementGetCollection, $_IEStatus_InvalidDataType

0+>11:53:49 AutoIT3.exe ended.rc:0

>Exit code: 0 Time: 14.665

So this probably won't work.

The second example doesnt seem to do anything after the login popup pops up either.

Whats the correct way to handle such popups?

Thanks in advance for any suggestions.

Kind regards,

Jeroen

login example1.au3

login example2.au3

Posted (edited)

Ouch, I'm sorry I didn't see that thread. I actually did search but obviously not good enough. I figured I needed to search on autoitsetoption because there was something about it in the helpfile but I couldn't figure it out. Sorry about this.

Thanks for pointing me to it.

Edited by Baksteen

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