GEOSoft Posted March 17, 2008 Share Posted March 17, 2008 Maybe you want to try it and think again!!!...??? here try this ... for testing #include <IE.au3> #include <GUIConstantsEx.au3> If @AutoItVersion > "4.2.10" Then #include <WindowsConstants.au3> #include <StaticConstants.au3> #include <ButtonConstants.au3> EndIf .... However, the "compiler" may bypass the if/then statement. 8)Where are you getting the If @AutoItVersion > "4.2.10" Then from? Because of all the dots in @AutoItVersion I replaced that line with If StringReplace(@AutoItVersion, ".","") > 32100 Then and my tests work out properly. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 17, 2008 Moderators Share Posted March 17, 2008 Where are you getting the If @AutoItVersion > "4.2.10" Then from? Because of all the dots in @AutoItVersion I replaced that line with If StringReplace(@AutoItVersion, ".","") > 32100 Then and my tests work out properly.That's not really proper either... Considering you're comparing a string to an integer 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. Link to comment Share on other sites More sharing options...
Valuater Posted March 17, 2008 Author Share Posted March 17, 2008 (edited) @Georgehere try this ... for testing..EDIT ..........................I compiled this script#include <GUIConstantsEx.au3> If @AutoItVersion > "4.2.10" Then #include <WindowsConstants.au3> #include <StaticConstants.au3> #include <ButtonConstants.au3> EndIf MsgBox(0x0, "4.0 test", "$SS_CENTER = " & $SS_CENTER, 2)and got this errorthus the #Includes are not included between the if/then statement8) Edited March 17, 2008 by Valuater Link to comment Share on other sites More sharing options...
GEOSoft Posted March 17, 2008 Share Posted March 17, 2008 @George here try this ... for testing ..EDIT .......................... I compiled this script #include <GUIConstantsEx.au3> If @AutoItVersion > "4.2.10" Then #include <WindowsConstants.au3> #include <StaticConstants.au3> #include <ButtonConstants.au3> EndIf MsgBox(0x0, "4.0 test", "$SS_CENTER = " & $SS_CENTER, 2) and got this error thus the #Includes are not included between the if/then statement 8)It still might have something to do with 4.2.10 instead of 3.2.10 If Int(StringReplace(@AutoItVersion, ".","")) > Int("32100") Then fixes the string vs integer problem. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 17, 2008 Moderators Share Posted March 17, 2008 (edited) It still might have something to do with 4.2.10 instead of 3.2.10 If Int(StringReplace(@AutoItVersion, ".","")) > Int("32100") Then fixes the string vs integer problem.I didn't even look what ya'll were using the If/Then for. No, #includes are not conditional. If they are in your script, then they are included regardless of a conditional statement. Edit: Holy Crap... When was this allowed ... seems I was wrong and not up to date. I can't believe Valik allowed this personally If 1 = 1 Then #include <WindowsConstants.au3> EndIf GUICreate("abcde", 40, 40, -1, -1, $WS_CLIPSIBLINGS) GUISetState() While GUIGetMsg() <> -3 WEndoÝ÷ Ø*&¦)^±©Ý®éì~)Þjwkº{w®r$Þjëh×6If 1 = 2 Then #include <WindowsConstants.au3> EndIf GUICreate("abcde", 40, 40, -1, -1, $WS_CLIPSIBLINGS) GUISetState() While GUIGetMsg() <> -3 WEndErrors on both accounts. Edited March 17, 2008 by SmOke_N 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. Link to comment Share on other sites More sharing options...
SkinnyWhiteGuy Posted March 17, 2008 Share Posted March 17, 2008 I have a feeling that all of you are right. The #include lines are being replaced with the script it reference's content upon compile time, this is true. However, the If statement will still be present around those resulting lines, and if the condition fails, certain things inside the if statement will not work. For example: If True = False Then ; Arbitrary condition that will not work Local $Temp = "Hello" EndIf MsgBox(0,"Test",$Temp) That, when compiled, will result in the same error above, the variable was not created because that line was skipped due to the conditional check. However, I do not believe that will be the case for any internal functions within include files. My reasoning is the same with variables: you have to set variables above where they are used in the source code, but functions can be at the very bottom of a 10,000 line script, and can be used all the way back at line 1 and will work just fine. That is, unless Function definitions inside of a If/Then/EndIf section fails, but I doubt that. Link to comment Share on other sites More sharing options...
Letsgo Posted July 12, 2008 Share Posted July 12, 2008 Hi: I'd really like to try out the IE-Builder, can someone help me figure out what's wrong here? >"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Program Files\AutoIt3\Beta\IE-library_v2.0.au3" C:\Program Files\AutoIt3\Beta\IE-library_v2.0.au3 (53) : ==> Variable used without being declared.: $VLabel = GUICtrlCreateLabel("IE-Builder View", 10, 140, 140, 43, $SS_CENTER) $VLabel = GUICtrlCreateLabel("IE-Builder View", 10, 140, 140, 43, ^ ERROR >Exit code: 1 Time: 0.230 it looks like mulitple variables are not being set correctly: $SS_CENTER $BS_ICON $BS_BITMAP $SS_SUNKEN $WS_BORDER Using the latest beta & IE-builder v2.0 Thx, Link to comment Share on other sites More sharing options...
GEOSoft Posted July 12, 2008 Share Posted July 12, 2008 Hi:I'd really like to try out the IE-Builder, can someone help me figure out what's wrong here?>"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Program Files\AutoIt3\Beta\IE-library_v2.0.au3" C:\Program Files\AutoIt3\Beta\IE-library_v2.0.au3 (53) : ==> Variable used without being declared.:$VLabel = GUICtrlCreateLabel("IE-Builder View", 10, 140, 140, 43, $SS_CENTER)$VLabel = GUICtrlCreateLabel("IE-Builder View", 10, 140, 140, 43, ^ ERROR>Exit code: 1 Time: 0.230it looks like mulitple variables are not being set correctly:$SS_CENTER$BS_ICON$BS_BITMAP$SS_SUNKEN $WS_BORDERUsing the latest beta & IE-builder v2.0Thx,You are using the latest beta but IE-Builder is notAt the top of IE-Builder, replace the line #include<GUIConstants.au3> with the following lines#include <ButtonConstants.au3>#include <StaticConstants.au3>#include <WindowsConstants.au3> George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Letsgo Posted July 12, 2008 Share Posted July 12, 2008 Hi: Following your directions & then running the program, I now see the IE-Builder start & then close & then I get the below error:>"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Program Files\AutoIt3\Beta\IE-library_v2.0.au3" C:\Program Files\AutoIt3\Beta\IE-library_v2.0.au3 (121) : ==> Variable used without being declared.: GUICtrlSetState(-1, $GUI_HIDE) GUICtrlSetState(-1, ^ ERROR >Exit code: 1 Time: 0.433 Here's how I modified the top of the IE-library_v2.0.au3 program:#include <IE.au3> #include <ButtonConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> ;#include <GuiConstants.au3> When I leave the GuiConstants.au3 include in the program the IE-Builder opens, but some of the buttons are blank (but look like they might work) & I get the following error message:>"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Program Files\AutoIt3\Beta\IE-library_v2.0.au3" --> COM Error Encountered in IE-library_v2.0.au3----> $IEComErrorScriptline = 435----> $IEComErrorNumberHex = 80020009----> $IEComErrorNumber = -2147352567----> $IEComErrorWinDescription = Unspecified error----> $IEComErrorDescription = ----> $IEComErrorSource = ----> $IEComErrorHelpFile = ----> $IEComErrorHelpContext = 0----> $IEComErrorLastDllError = 0>Exit code: 0 Time: 72.620Please help!You are using the latest beta but IE-Builder is not At the top of IE-Builder, replace the line #include<GUIConstants.au3> with the following lines #include <ButtonConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted July 12, 2008 Share Posted July 12, 2008 $GUI_HIDE is in GUIConstantsEx.au3 #Include <GUIConstantsEx.au3> .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Letsgo Posted July 13, 2008 Share Posted July 13, 2008 (edited) Hi: Ok here are my includes, but I still get blanks for the entire top row of buttons and the middle button in the 2nd row #include <IE.au3> #include <ButtonConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> Help! Edited July 13, 2008 by Letsgo Link to comment Share on other sites More sharing options...
KxS Posted April 20, 2009 Share Posted April 20, 2009 Since the thread was left hanging, I want to confirm that the builder works for me as now. As a reference, I am using IE-library_v2.0.au3 with the following mod: #include <IE.au3> #include <ButtonConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> ;#include <GuiConstants.au3> Windows Vista IE 8.0 and AutoIt v3.3.0.0 Link to comment Share on other sites More sharing options...
Valuater Posted April 20, 2009 Author Share Posted April 20, 2009 Glad it's still working and helpful!! 8) Link to comment Share on other sites More sharing options...
KxS Posted April 23, 2009 Share Posted April 23, 2009 (edited) FWIW, If you have problem running this program, one thing to try is to open it with SciTE4AutoIt3 first then hit F5 to run it. It does not make sense to me but I had problems running it by double clicking it but it worked fine when I run it with F5. Edited April 23, 2009 by KxS Link to comment Share on other sites More sharing options...
guwguw Posted April 26, 2009 Share Posted April 26, 2009 Updated to ver 2.0.0 by big_daddyIE-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 objectsJust to let you know: ie_builder.zip appears to be damaged (cannot be unzipped). Link to comment Share on other sites More sharing options...
MisterBates Posted July 15, 2009 Share Posted July 15, 2009 Trying to download ie_builder, but the link ie_Builder v2 appears to be broken. It takes me to the list of forums.Where can I find ie_builder? [u]MisterBates[/u]_____________________________________________________Suspend/Resume Windows ScreensaverWatchWindows - Window watcher/loggerUDF: Click systray menu/submenu itemsUDF: Outlook Express Folder/Message handling (+ example code)HowTo: Multiple icons in one compiled script Link to comment Share on other sites More sharing options...
trinitrotoluen Posted July 19, 2009 Share Posted July 19, 2009 Did you re-link the wrong version Valuater ?Some errors with images. Link to comment Share on other sites More sharing options...
Valuater Posted July 19, 2009 Author Share Posted July 19, 2009 No, I am sure I did not! I just tested the link and it takes you to the download section. The pic there and thew download are both version 2.0.1 8) Link to comment Share on other sites More sharing options...
trinitrotoluen Posted July 19, 2009 Share Posted July 19, 2009 All the infos are v2.0.1 but the file is v2.0.0. Please check the file again Link to comment Share on other sites More sharing options...
trinitrotoluen Posted July 22, 2009 Share Posted July 22, 2009 Hi, Valuater Still in the wrong version. I regret that can not use your great programme. 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