Sign in to follow this  
Followers 0
athanatis

_IE* Not Working?

7 posts in this topic

I am trying to write a script that would navigate to a login page and log in for me. I've looked in the helpfile for examples, and they all begin with something along the lines of:

$oIE = _IECreate ("http://www.google.com")

But _IECreate doesn't work properly. When I try to run the example scripts, two IE windows would open. The first opened window stays on "Loading...", while the second navigates to the correct page. Then any code that refers to $oIE (for example $oForm = _IEFormGetCollection ($oIE, 0)) doesn't run.

I've also tried using

$oIE = ShellExecute("http://www.google.com")

But the $oIE instructions after that don't run either.

Thanks in advance.

Share this post


Link to post
Share on other sites



Hello,

Are you using Internet Explorer?

Because _IE means Internet Explorer.

It doenst work with Mozilla Firefox or any other.

AlmarM


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

Are you using Vista, I think there was a prob with it... AKAIK

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Yeah, I'm using Internet Explorer. And Vista too :)

Is there any way around the problem?

Share this post


Link to post
Share on other sites

Yeah, I'm using Internet Explorer. And Vista too :)

Is there any way around the problem?

I have several scripts that use the _IE* functions on vista and have no issues. What version of IE are you using? The only issue I have found w/ the _IE* functions NOT working are as follows:

  • Improper usage of the commands.
  • IE8 is installed
  • IE has been removed from Add/Remove

Thanks!


-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Share this post


Link to post
Share on other sites

Yes. Please look at the documentation for _IECreate! There is an issues on Vista caused by the introduction of new "security" features. The workaround is simple.

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