Jump to content

trouble finding the form name


Recommended Posts

I am having trouble with this website http://omega.darkthrone.com/ for the life of me i cannot find what the form name is in the sourcecode in the examples like the hotmail one it looks for the form name of "F1" which you can find in the sourcecode but on the darkthrone website it doesent give you the name of the form does anyone know how i can find it so i can write the code to logiin

$o_form = _IEFormGetObjByName($oIE, "") returns a not found error beacuse i cannnot see the form name is .

Edited by Brawler
Link to comment
Share on other sites

I am having trouble with this website http://omega.darkthrone.com/ for the life of me i cannot find what the form name is in the sourcecode in the examples like the hotmail one it looks for the form name of "F1" which you can find in the sourcecode but on the darkthrone website it doesent give you the name of the form does anyone know how i can find it so i can write the code to logiin

$o_form = _IEFormGetObjByName($oIE, "") returns a not found error beacuse i cannnot see the form name is .

You'll want to use _IEFormGetCollection - it allows you to select a form by index (0-based, source code order) rather than name.

Dale

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

Link to comment
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
 Share

  • Recently Browsing   0 members

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