Sign in to follow this  
Followers 0
saldous

_IEFormGetCollection question

3 posts in this topic

#1 ·  Posted (edited)

I'm trying to get a list of all the element names of the input fields in a web page form so that I can use those elements to insert text into the web page.

I'm trying the following (which came from the help file):

$oProfile = _IEFormGetCollection ($oIE, 0)
For $oInput In $oProfile
    MsgBox(0, "Form Input Type", "Form: " & $oInput.form.name & " Type: " & $oInput.type)
Next
oÝ÷ ØÞjX¬xÞyÛhr§ëa{Mú éºÖíÊ¿n«µ»­#ozÇ­È^^éi~)^jwHq©÷ö×âÖ§ÊØb
Þ«bh­MÄÉÞ½êæwp«h¶«¢b¢{-êÞj·j{(ê'z^jÇ¡zZfxÈr§è­¶aÌ!ÈpjÆ ¹ë,¶!jxªê-·*^ªê-¶®¢ÙÚꮢ֮¶­sbb33c¶õ&öfÆRÒôTf÷&ÔvWD6öÆÆV7Föâb33c¶ôR¤f÷"b33c¶ôçWBâb33c¶õ&öfÆP¢×6t&÷ÂgV÷C´f÷&ÒçWBGRgV÷C²ÂgV÷C´f÷&Ó¢gV÷C²fײb33c¶ôçWBæf÷&ÒææÖRfײgV÷C²GS¢gV÷C²fײb33c¶ôçWBææÖR¤æW@

I get a load of names back, but I'm not sure how to use those names in an IEFormElementSetValue

Thank you.

Edited by saldous

Share this post


Link to post
Share on other sites



I'm trying to get a list of all the element names of the input fields in a web page form so that I can use those elements to insert text into the web page.

I'm trying the following (which came from the help file):

$oProfile = _IEFormGetCollection ($oIE, 0)
For $oInput In $oProfile
    MsgBox(0, "Form Input Type", "Form: " & $oInput.form.name & " Type: " & $oInput.type)
Next
oÝ÷ ØÞjX¬xÞyÛhr§ëa{Mú éºÖíÊ¿n«µ»­#ozÇ­È^^éi~)^jwHq©÷ö×âÖ§ÊØb
Þ«bh­MÄÉÞ½êæwp«h¶«¢b¢{-êÞj·j{(ê'z^jÇ¡zZfy8ZL¨»ú®¢×*Ê"¶Z(Éb쨺»§uê쵩Ýx}©e¡ûaȬi¸­éçH¶Z(Ébì!jܨº·°j{b°¢¹éÑ´*%ç-آ赫"  ^~æ­çÞ­éÜ{^*.¥«,jx§uìoj[¶æëB¢Y^rب«2¢èZ½çhëaȬ­ʰj{Séò¢éÞyÛh­æ¥7­«mçè®g(֢ƢY^rبߢ¹éÛ-«Z­ì!jܨº·°j{m¢IèÁ¦èºÔÚ楢¶Ø^~eÂ)àr^jwlyèØ^ºÚ"µÍÌÍÛÔÙ[HHÒQQÜQÙ]ÛÛXÝ[Û
    ÌÍÛÒQK
BÌÍÛÑ[[Y[ÈHÒQQÜQ[[Y[Ù]ÛÛXÝ[Û    ÌÍÛÔÙ[JBÌÍÚHHÜ ÌÍÛÑ[[Y[[   ÌÍÛÑ[[Y[ÂÙÐÞ
    ][ÝÑÜH[]I][ÝË  ][ÝÑÜN   ][ÝÈ  [È ÌÍÛÑ[[Y[ÜK[YH  [ÈÂ   ][ÝÈ[[Y[N ][ÝÈ  [È ÌÍÛÑ[[Y[H   [ÈÂ   ][ÝÈ[[Y[[YN   ][ÝÈ  [È ÌÍÛÑ[[Y[[YH [ÈÂ   ][ÝÈ[[Y[[^    ][ÝÈ  [È ÌÍÚJHÈ[[Y[[^Ø[HÙY[ÒQQÜQ[[Y[Ù]ÛÛXÝ[Û    ÌÍÚH
ÏHB^

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

Ah ha, I see, Doh! I get it now, thank you for your quick help DaleHohm, much appreciated. I got it working now :-)

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