ms_news Posted October 23, 2006 Share Posted October 23, 2006 (edited) Hello autoit-Scripter, first thx for autoit, it is a great tool. i wrote a little script for IE, but on some PC the scirpt won´t work by "_IECreate($URL)". On this PC you must first start an IE, on the other PC it works without start IE, any ideas? thx ms_news Edited October 23, 2006 by ms_news Link to comment Share on other sites More sharing options...
Xenobiologist Posted October 23, 2006 Share Posted October 23, 2006 Hi, try to recreate the problem and check the @error macro with e.g. #include <IE.au3> _IECreate ("www.autoitscript.com", 1) If @error <> 0 Then MsgBox(16, "Error", @error) So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
ms_news Posted October 24, 2006 Author Share Posted October 24, 2006 #include <IE.au3> _IECreate ("www.autoitscript.com", 1) If @error <> 0 Then MsgBox(16, "Error", @error) Hi the @error is 1 help this? ms_news Link to comment Share on other sites More sharing options...
DaleHohm Posted October 24, 2006 Share Posted October 24, 2006 Hi the @error is 1 help this? ms_newsThis means that ObjCreate("InternetExplorer.Application") is failing. Suggest you try this in vb script: set oIE = CreateObject("InternetExplorer.Application") oIE.visible = 1 If this fails to create a blank IE window, then there are issues on the PC having nothing to do with AutoIt. 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 More sharing options...
ms_news Posted October 25, 2006 Author Share Posted October 25, 2006 set oIE = CreateObject("InternetExplorer.Application") oIE.visible = 1 Ok thx it also not work on this PC´s with VBS, so its a general problem of these PC´s. thx ms_news Link to comment Share on other sites More sharing options...
ms_news Posted October 25, 2006 Author Share Posted October 25, 2006 set oIE = CreateObject("InternetExplorer.Application") oIE.visible = 1 Ok thx it also not work on this PC´s with VBS, so its a general problem of these PC´s. thx ms_news 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