Sign in to follow this  
Followers 0
saranda

_IEFormGetCollection https form

4 posts in this topic

Hi guys,

I'm really new with Autoit, and I'm traying to work with a combox for select a data, but the my problem is that I can't to read the Form. I try to use the follow code for identify the form name:

#include <IE.au3>

$oIE = _IECreate("https://www.XXXXX.com")

Local $oForms = _IEFormGetCollection($oIE)

MsgBox(0, "Forms Info", "There are " & @extended & " forms on this page")

For $oForm In $oForms

MsgBox(0, "Form Info", $oForm.name)

Next

Why the form is not read? can i read forms and controls form a https site? could you help me with another option?

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Are there actually any <form> nodes on the page?

Try adding a _ieloadwait after the _iecreate line.

At least turn the msgbox's into consolewrites, and post that...need some additional data

Edited by jdelaney

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

Excellent!!!!

I added _ieloadwait and my script is working.

Thank you, I'm going to continue learning about Autoit.

:-) :king:

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  
Followers 0