Valuater Posted December 22, 2005 Share Posted December 22, 2005 (edited) Updated to ver 2.0.1Fixed: formatting of submitted code Fixed: clicking twice on same view made it disappearFixed: a few layout issuesFixed: naming of variablesUpdated: all functionsAdded: function syntax populationTo-Do: Update examplesRequirements:IE.au3 version T2.0-3 or later, and latest beta of courseIE-Builder v2.0previous dowloads 900 +/-Credits to Dale Hohm for the Internet Explorer UDF Library**** This is The Public Release of IE-Builder, a helpful tool in creating IE objectsThe new look!!! Builder, Internet, Source, Syntax, and Examples ...All at your finger-tipsEnjoy!!!Valuater8)UpDated 6-15-2006 ver 2.0.0by big_daddy*************UpDated 2-18-2006 ver 1.0.3added - Check all locations for Beta*************UpDated 1-12-2006. ver 1.0.2added - list All Html Elementsadded - list Image viewadded - list Anchor Tags viewadded - list Form Elements view added - Objects Error handling ( ie... when user presses forward, and there was no previous page )and more *************UpDated 1-7-2006 Alpha Releaseadded - minimize buttonadded - ini file and favorites buttonadded - search stop/continue through sourceadded - error checkingand more Edited July 19, 2009 by Valuater CoCoLoco and AdamSteele 2 Link to comment Share on other sites More sharing options...
JerryD Posted December 22, 2005 Share Posted December 22, 2005 This looks like it might be a really nice utility, but I'm unable to get it to run!I'm using AutoIt version 3.1.1.97 Beta, and have downloaded IE.au3 from the forum posting Internet Explorer Automation UDF libraryWhen running it under the Beta, I get the message: C:\Program Files\AutoIt3\beta\Include\IE.au3 (275) : ==> The requested action with this object has failed.: If (ObjName($o_window.document) = "DispHTMLDocument") Then If (^ ERRORThe call "_IEAttach ($oIE)" on line 73 is failing within the _IEAttach() function in IE.au3.Any thoughts? Link to comment Share on other sites More sharing options...
Valuater Posted December 22, 2005 Author Share Posted December 22, 2005 (edited) yes.. as i found out recently... i always downloaded "include files" into C:\Program Files\Autoit\include\... but there is a second include folder for the beta ( thx LxP ) copy IE.au3 to C:\Program Files\Autoit\beta\include\.. that is where the program is looking 8) Edited December 22, 2005 by Valuater Link to comment Share on other sites More sharing options...
JerryD Posted December 22, 2005 Share Posted December 22, 2005 yes..as i found out recently... i always downloaded "include files" intoC:\Program Files\Autoit\include\...but there is a second include folder for the beta ( thx LxP )copy IE.au3 toC:\Program Files\Autoit\beta\include\..that is where the program is looking8)Valuater,No, that is not the problem. The script gives a clear error message if IE.AU3 is not under beta\include, and I dutifully put a copy there too (as well as under the production Include directory). The script will does not run in either interpreted or compiled mode.Maybe if you post the IE.AU3 you used - or a compiled version of the script. Link to comment Share on other sites More sharing options...
Valuater Posted December 22, 2005 Author Share Posted December 22, 2005 Valuater, No, that is not the problem. The script gives a clear error message if IE.AU3 is not under beta\include, and I dutifully put a copy there too (as well as under the production Include directory). The script will does not run in either interpreted or compiled mode. Maybe if you post the IE.AU3 you used - or a compiled version of the script. i found the "_IEattach()" on line 73 of MY script... this was not utilized so try to comment-out this section ; start at line 73 ;_IEAttach ($oIE) ;If Not IsObj($oIE) Then ; MsgBox(0, "IE test", "Failed") ; $oIE = _IECreate () ; _IENavigate ($oIE, $sUrl) ;EndIf i originally created this object with autoit-objects... not the library and tried to attach the library there after let me know if that worked 8) Link to comment Share on other sites More sharing options...
JerryD Posted December 23, 2005 Share Posted December 23, 2005 i found the "_IEattach()" on line 73 of MY script... this was not utilized so try to comment-out this section ; start at line 73 ;_IEAttach ($oIE) ;If Not IsObj($oIE) Then ; MsgBox(0, "IE test", "Failed") ; $oIE = _IECreate () ; _IENavigate ($oIE, $sUrl) ;EndIf i originally created this object with autoit-objects... not the library and tried to attach the library there after let me know if that worked 8)Yep. It's running now. Thanks. Link to comment Share on other sites More sharing options...
MHz Posted December 23, 2005 Share Posted December 23, 2005 If I install AutoIt with this command: Autoit_v3.1.1.exe /S /D=C:\AutoIt Then install Scite4AutoIt3 like this SciTe4AutoIt3_17.12.05.exe /S Then the Beta goes into the AutoIt folder then your hardcoded code below will not work. This is not to mention that people may have program files on another drive where atleast the @ProgramFilesDir macro may have helped the success more. If Not FileExists("C:\Program Files\AutoIt3\beta\Autoit3.exe") Then MsgBox(64, "IE.au3 Error #1", "Autoit3 Beta is required " & @CRLF & "Please download form www.Autoit3.com ") Exit EndIf If Not FileExists("C:\Program Files\AutoIt3\beta\Include\IE.au3") Then MsgBox(64, "IE.au3 Error #2", "IE.au3 Library is required " & @CRLF & "Please download form www.Autoit3.com ") Exit EndIf Look to the registry for AutoIt installation directory could be a better idea ? I have not played with it yet to give applause but the picture tells the story. Looks like a cool program. Link to comment Share on other sites More sharing options...
Valuater Posted January 7, 2006 Author Share Posted January 7, 2006 thx MHz updated 1-7-2006 added @ProgramFilesDir... as the file name is the same in beta and release version... and figured its for users here that should understand the difference 8) Link to comment Share on other sites More sharing options...
BasicOs Posted January 7, 2006 Share Posted January 7, 2006 wouldnt it be better an script that enumerate all objetcs form etc in a txt file, so that we can use the ie functions ¿¿¿¿¿ objetcts: 1 2 3 4 forms: 1 2 3 4 5 tables: 1 2 3 explain to use into ie funcs BUILDER IS USABLE AND QUICKER THAN SCITE IF YOU USE THIS enumetation THANKS Autoit.es - Foro Autoit en Español Word visitors Image Clustrmap image: - Football Spanish team - Spanish team: Casillas, Iniesta, Villa, Xavi, Puyol, Campdevilla, etc..Programando en Autoit+Html - Coding Autoit-Html - Arranca programas desde Internet - Preprocesador de Autoit a http Link to comment Share on other sites More sharing options...
Valuater Posted January 7, 2006 Author Share Posted January 7, 2006 the idea behind the builder is 1 to simplify using all of the original IE UDF Library features and help at your finger-tips. you can quickly switch between.... A view the page you want to work on B View the source of that page C Search the source of that page D Find references in the Syntax E Find examples to follow F Catagorized Functions ( per Dales catagories ) G Build your script 2 to follow the original design and help as explained by Dale Hohm 3 the Builder Form is designed so you can add/remove/edit all lines of text and also you can type in AU3 commands. for example... Sleep(200) 4 You can Test the script with the *Test Run Form* button. This calls the *beta exe* to run your script 5 the button *Copy to ClipBoard* allows you to paste your script wherever you want... a text file or the SciTE Program or ???? Thanks for the response 8) Link to comment Share on other sites More sharing options...
DaleHohm Posted January 8, 2006 Share Posted January 8, 2006 (edited) You know Valuater, BasicOs makes an interesting suggestion... I think adding information from the document element discovery examples would make this really useful... take look and see what you think.Dale Edited January 8, 2006 by DaleHohm 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...
Valuater Posted January 8, 2006 Author Share Posted January 8, 2006 (edited) You know Valuater, BasicOs makes an interesting suggestion... I think adding information from the document element discovery examples would make this really useful... take look and see what you think.DaleI took a quick look... and i will see if i can incorporate them into the builder for the next updatethx8) Edited January 8, 2006 by Valuater Link to comment Share on other sites More sharing options...
MHz Posted January 9, 2006 Share Posted January 9, 2006 added @ProgramFilesDir... as the file name is the same in beta and release version... and figured its for users here that should understand the differenceThanks Valuater, I appreciate the effort that you do to share your nice program for us all. Link to comment Share on other sites More sharing options...
Valuater Posted January 12, 2006 Author Share Posted January 12, 2006 Thanks Valuater, I appreciate the effort that you do to share your nice program for us all.I consider that a compliment.... with your Scripting Knowledge and Abilities... and your "Just simple" approach to this Forum8)PSNew release forth-comming Link to comment Share on other sites More sharing options...
Valuater Posted January 12, 2006 Author Share Posted January 12, 2006 (edited) as BasicO's requested... and Dale Hohm suggested Updated 1-12-2006 ver 1.0.2 thx 8) Edited January 12, 2006 by Valuater Link to comment Share on other sites More sharing options...
greenmachine Posted February 18, 2006 Share Posted February 18, 2006 MHz mentioned above to use the @ProgramFilesDir macro to find the installation of AutoIt beta and IE.au3. The only problem with this idea is that @ProgramFilesDir still only looks at 1 drive. On my computer, I have C: and D: drives, and my AutoIt installation is on my D: drive. Therefore, @ProgramFilesDir doesn't find the installation and returns errors. My suggestion is to also search the registry for the AutoIt installation, or use DriveGetDrive ("fixed") to get every drive on the computer, and check each one of those in the program files dir. Link to comment Share on other sites More sharing options...
GaryFrost Posted February 18, 2006 Share Posted February 18, 2006 (edited) maybe something more along the lines, if not found where expected in the registry, then let the user select it, for example: #include <GuiConstants.au3> Dim $radio[10], $Input[10], $Combo[10] Dim $count = 1, $prg = 0 Dim $wloc = @ScriptDir & "\web.ini" Dim $AutoItBetaLocation $ver = "1.0.2" ; Set a COM Error handler -- only one can be active at a time (see helpfile) $oMyError = ObjEvent("AutoIt.Error", "MyErrFunc") $AutoItBetaLocation = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt","betaInstallDir") If $AutoItBetaLocation = "" Then $AutoItBetaLocation = FileSelectFolder("Select Folder where the Beta AutoIt is installed","c:\",4,@ProgramFilesDir & "\AutoIt3\beta") If $AutoItBetaLocation = "" Then MsgBox(262208, "IE.au3 Error #1", "Autoit3 Beta is required " & @CRLF & "Please download from www.Autoit3.com ") ;Exit EndIf EndIf If Not FileExists($AutoItBetaLocation & "\Include\IE.au3") Then MsgBox(262208, "IE.au3 Error #2", "IE.au3 Library is required " & @CRLF & "Please download from www.Autoit3.com ") ;Exit EndIf #include <IE.au3> Edited February 18, 2006 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Valuater Posted February 18, 2006 Author Share Posted February 18, 2006 then how to handle the next line $Program_2 = @TempDir & "\Temp.exe" FileInstall("C:\Program Files\AutoIt3\beta\Autoit3.exe", $Program_2) FileInstall requires a true path, not a variable ?? 8) Link to comment Share on other sites More sharing options...
GaryFrost Posted February 18, 2006 Share Posted February 18, 2006 don't think you would need to do a fileinstall just $Program_2 = $AutoItBetaLocation & "\Autoit3.exe" ;~ $Program_2 = @TempDir & "\Temp.exe" ;~ FileInstall(@ProgramFilesDir & "\AutoIt3\beta\Autoit3.exe", $Program_2) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
greenmachine Posted February 18, 2006 Share Posted February 18, 2006 You could even use the current script you're running (assuming it's compiled) as the AutoIt exe. 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