PcExpert Posted February 28, 2009 Share Posted February 28, 2009 (edited) Hi all, I just wrote a very simple script to load a webpage, but it starts internet explorer two times, one window keeps saying 'connecting...' on the tab, and the other one loads the webpage. But ofcourse I just only need one window, so what could solve this issue? #include<IE.au3> $oIE = _IECreate("[url="http:///spanhttp:///spanhttp:///spana%20href=span%20class=span%20class="]www.google.nl[/url]", 0) Exit Also, the script does not exit when the page is loaded. I'm using Windows Vista Business 32-bit. Thanks! Edit: I think that the empty window gets focus becase when I try to get the data of the input control it stays empty. Edited February 28, 2009 by PcExpert Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 28, 2009 Moderators Share Posted February 28, 2009 PcExpert, A known problem with Vista and IE3.au3. See the workarounds that DaleHolm developed here. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
DaleHohm Posted February 28, 2009 Share Posted February 28, 2009 You looked in the helpfile right? You read the remarks for _IECreate? Oh, probably not or you wouldn't be posting this question... 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 More sharing options...
PcExpert Posted February 28, 2009 Author Share Posted February 28, 2009 (edited) Thanks, it works like a charm now , I did read the helpfile, but I think I ovelooked the remarks section. Edited February 28, 2009 by PcExpert Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now