Sign in to follow this  
Followers 0
blizzedout

Using Objects

6 posts in this topic

Can i use objects to navagate to a new url in IE (not reopening IE)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Check out DaleHohms' Internet Explorer Automation Library.

Guess you would use _IEAttach() to get a handle to the IE window then _IENavigate() to navigate to the new URL.

Edited by Emperor

Share this post


Link to post
Share on other sites

Check out DaleHohms' Internet Explorer Automation Library.

Guess you would use _IEAttach() to get a handle to the IE window then _IENavigate() to navigate to the new URL.

looked.. Thank you :D

oh one thing i could not find. How do you grab the current URL you are browsing on.

Share this post


Link to post
Share on other sites

After looking at the function list for IE.au3, I would assume it would be _IEPropertyGet().


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

After looking at the function list for IE.au3, I would assume it would be _IEPropertyGet().

well i coded a perfect bot with that IE.au3 one problem tho the submit function fucks up when there is more than one submit button. It needs to do buttons by name.

Share this post


Link to post
Share on other sites

well i coded a perfect bot with that IE.au3 one problem tho the submit function fucks up when there is more than one submit button. It needs to do buttons by name.

Well, it works but the default submit action may not be what you want.

Use _IEFormElementGetObjByName and then _IEAction with a click parameter.

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

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