Jump to content
Sign in to follow this  
politrok

No forms in _IEFormGetCollection

Recommended Posts

politrok

Hi ,

When i run this script i get "no forms"

#include <IE.au3>

Opt("WinTitleMatchMode", 2)

$oIE = _IECreate ("SOMEURL")

$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

How can i set a value into textbox without form?

Thanks in advance ,

Poli .

Share this post


Link to post
Share on other sites
Juvigy

Some sites may not have forms.

Check the source code or use Debugbar for example.

Then use _IEGetObjById or another of the IE functions.

Share this post


Link to post
Share on other sites
wakillon

If you can't give url, post the source code !

It can be more helpfull...


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
PsaltyDS

Top level element could also be a Frame or iFrame. You might have to drill down to the Form element. Check out the page with a DOM inspector to be sure.

:huh2:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
politrok

If you can't give url, post the source code !

It can be more helpfull...

i've posted the source code ...

Share this post


Link to post
Share on other sites
Juvigy

We want source code of the Internet Page not the Ait script.

Share this post


Link to post
Share on other sites
politrok

Thank everybody , it was on iframe .

Share this post


Link to post
Share on other sites
wakillon

i've posted the source code ...

No, it's the script code...


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

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  

×