Sign in to follow this  
Followers 0
Nanascalala

Waiting for IE page to load?

7 posts in this topic

#1 ·  Posted (edited)

Erp. Figured it out! StatusBarGet under the control commands! Sorry about this!

Now the question is, how do you Control send to hit the submit button?

IE/Html UDF? Some function? Help?

Thanks

Edited by Nanascalala

Share this post


Link to post
Share on other sites



Perhapse you could do a search for a button that has "submit" on it... or if your planning on doing the same page... use the Window Info and grab the button ID, and controlSend({SPACEBAR}) <---- might not be the exact code, im REALLY tired. and if that doesnt work, you can make that object active, and then just Send({SPACEBAR}). the space bar would activate the button.


Ooo Ëxçã¿îbúr ooO"Information Is Not Knowledge." ~Albert Einstein

Share this post


Link to post
Share on other sites

How would I get the Window info for the button? The text on it is "Click Here to Continue"

thanks

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

AU3Info.exe

it's in the autoit directory on your computer

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Hehe, I got that far...

All it shows is that the button is within the classname: Internet Explorer_Server1

I still can't figure out how to target the button!

and whats the Controlid for Internet Explorer?

Edited by Nanascalala

Share this post


Link to post
Share on other sites

You do realize there is an EXELENT help file that comes with AutoIt right?


Ooo Ëxçã¿îbúr ooO"Information Is Not Knowledge." ~Albert Einstein

Share this post


Link to post
Share on other sites

Controls inside an HTML page are not accessible in the same way that Win32 application window controls are. You can click using screen coordinates or you can give focus to the window and send TABs until you are on the button and then send a SPACE... Or, you can learn to see the Document Object Model (DOM) to access and manipulate nearly any object on the page... see the IE Automation UDF Library

Dale

Erp. Figured it out! StatusBarGet under the control commands! Sorry about this!

Now the question is, how do you Control send to hit the submit button?

IE/Html UDF? Some function? Help?

Thanks


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

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