Jump to content

IE-Builder not responding


 Share

Recommended Posts

I am using the latest AutoIT and SciTE.

I can run IE-Library4.au3 under SciTE using Alt+F5

I can open web page and load source in the builder

But once I do a HTML Element or Anchor Tag. or Image Tag.... it will display the correct content but it will freeze and not responding to anything afterward

This is running under Win2k

Anything I should check?

I am also wondering if I installed the builder correctly because I do not have all the graphic icons in Builder displayed correctly; of the 3 top right hand side icons, I only have the Go icon displayed..the other two are blank; of the 6 icons on the top left, I only have the top 3 displayed correctly, the lower 3 icons are blank.

I extracted the zip file and copy the folder under C:\Program FIles\AutoIT3\IE-Builder

is it right?

Thanks.

Link to comment
Share on other sites

1

i had a problem with that after the last beta update... however that was fixed... are you sure you have the latest IE.au3 builder????

2

you didn't copy it correctly because all of the icons are there

i just downloaded it to my desktop, ran it, and everything was fine... including the icons for the buttons ( win Xp )

try downloading it again

8)

NEWHeader1.png

Link to comment
Share on other sites

Wow! you are so fast! Thank you Valuater!

yes, you are right, I was using the version 4, the new version 5 does not freeze.

Sill have problem with icons:

I downloaded the zip file from the link in this post:

http://www.autoitscript.com/forum/index.ph...st=0&p=137835

the zip file only includes 4 bmp files, IE-Library5.au3 and Examples.txt so unless the builder uses icons from some other shared directory, there are only 4 to use.

I know there are discussions on many threads on using the builder, please advise on the best thread or doc to get started.

Thank you !

Link to comment
Share on other sites

Glad it works for you....

First the icons

try this from help.... its the same as the ones i used

;===============================================================================
;
; Description:    Show all icons in the given file
; Requirement(s):   Autoit 3.0.103+
; Author(s):        YDY (Lazycat)
;
;===============================================================================

#include <GUIConstants.au3>

; Setting variables
Global $ahIcons[30], $ahLabels[30] 
Global $iStartIndex = 0, $iCntRow, $iCntCol, $iCurIndex
Global $sFilename = @SystemDir & "\shell32.dll"; Default file is "shell32.dll"

; Creating GUI and controls
GUICreate("Icon Selector", 385, 435, @DesktopWidth/2 - 192, _
@DesktopHeight/2 - 235, -1, $WS_EX_ACCEPTFILES)
GUICtrlCreateGroup("", 5, 1, 375, 40)
GUICtrlCreateGroup("", 5, 50, 375, 380)
$hFile = GUICtrlCreateEdit($sFilename, 12,  15, 325, 16, $ES_READONLY, $WS_EX_STATICEDGE)
GUICtrlSetCursor(-1, 2) 
GUICtrlSetState(-1, $GUI_DROPACCEPTED)
GUICtrlSetTip(-1, "You can drop files from shell here...")
$hFileSel = GUICtrlCreateButton("...", 345,  14, 26, 18)
$hPrev = GUICtrlCreateButton("Previous", 10,  45, 60, 24, $BS_FLAT)
GUICtrlSetState(-1, $GUI_DISABLE)
$hNext = GUICtrlCreateButton("Next", 75,  45, 60, 24, $BS_FLAT)

; This code build two arrays of ID's of icons and labels for easily update
For $iCntRow = 0 to 4
    For $iCntCol = 0 to 5
        $iCurIndex = $iCntRow * 6 + $iCntCol
        $ahIcons[$iCurIndex] = GUICtrlCreateIcon($sFilename, $iCurIndex, _
        60 * $iCntCol + 25, 70 * $iCntRow + 80)
        $ahLabels[$iCurIndex] = GUICtrlCreateLabel($iCurIndex, _
        60 * $iCntCol+11, 70 * $iCntRow + 115, 60, 20, $SS_CENTER)
    Next
Next

GUISetState()

While 1
    $iMsg = GUIGetMsg()
  ; Code below will check if the file is dropped (or selected)
    $sCurFilename = GUICtrlRead($hFile) 
    If $sCurFilename <> $sFilename Then
        $iStartIndex = 0
        $sFilename = $sCurFilename
        _GUIUpdate()
    Endif
  ; Main "Select" statement that handles other events
    Select
        Case $iMsg = $hFileSel
            $sTmpFile = FileOpenDialog("Select file:", "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", "Executables & dll's (*.exe;*.dll;*.ocx;*.icl)")
            If @error Then ContinueLoop
            GUICtrlSetData($hFile, $sTmpFile); GUI will be updated at next iteration
        Case $iMsg = $hPrev
            $iStartIndex = $iStartIndex - 30
            _GUIUpdate()
        Case $iMsg = $hNext
            $iStartIndex = $iStartIndex + 30
            _GUIUpdate()
        Case $iMsg = $GUI_EVENT_CLOSE
            Exit
    EndSelect
Wend
    
; Just updates GUI icons, labels and set state of "Previous" button
Func _GUIUpdate() 
    For $iCntRow = 0 to 4
        For $iCntCol = 0 to 5
            $iCurIndex = $iCntRow * 6 + $iCntCol
            GUICtrlSetImage($ahIcons[$iCurIndex], $sFilename, $iCurIndex + $iStartIndex)
            GUICtrlSetData($ahLabels[$iCurIndex], $iCurIndex + $iStartIndex)
        Next
    Next
  ; This is because we don't want negative values
    If $iStartIndex = 0 Then
        GUICtrlSetState($hPrev, $GUI_DISABLE)
    Else
        GUICtrlSetState($hPrev, $GUI_ENABLE)
    Endif       
EndFunc

does this work???

8)

NEWHeader1.png

Link to comment
Share on other sites

  • Moderators

Hmm, normally Valuator would tell you this wasn't the support forum... :o:geek:

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

I copied the file to SciTE and run it, but it only exames *.exe, *.dll , *.ocx..and no au3 file type...so which file I should examine?

I am running IE-Library5.au3 for the builder.

Am I completly off base here? really new with this...thanks for your help!

Link to comment
Share on other sites

1) Icons:

I did that... the program run and it displayed many icons (from my desktop?).

I tried to get it to check the IE-builder but which file I should have it checked?

the tool only look for *.exe *.dll *.ocx...file type

2) Other UI differences

Compare my IE-Builder UI display with the one on http://www.autoitscript.com/forum/index.ph...topic=19368&hl=

I also noticed that my first button is called "IE-Builder" and yours called "View Builder", mine has IE.au3 syntax..and other differences...

Here is my environment:

SciTE Version 1.67 Jan 13 2006 22:22:59

AutoIT version: 3.1.1.0

Beta: 3.1.1.107

IE-Library5.au3 creted February 18 2006 11:15:22 pm

IE.au3 created Feburary 12, 2006 3:10:46 pm

Are the IE-Library5.au3 and IE.au3 the latest? if not, where can I get the latest? thanks.

Edited by KxS
Link to comment
Share on other sites

I did that... the program run and it displayed many icons (from my desktop?).

Just do the same thing..... thats all you need to run IE.au3 Builder

Press Tools > Beta Run

if the icons worked on that the icons should work on IE Builder

( you have the correct version BTW )

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

see attached UI snapshot.

I have 4 bmp files in IE-Builder\Images

back.bmp

forward.bmp

refresh.bmp and

go.bmp

they correspond to the 4 icons displayed correctly. Where are the other icon bmp located?

Also I do not have any things in the drop down box for core functions, frame functions...is this correct?

Thanks a lot, Valuater!

Link to comment
Share on other sites

see attached UI snapshot.

I have 4 bmp files in IE-Builder\Images

back.bmp

forward.bmp

refresh.bmp and

go.bmp

they correspond to the 4 icons displayed correctly. Where are the other icon bmp located?

Also I do not have any things in the drop down box for core functions, frame functions...is this correct?

Thanks a lot, Valuater!

You have all the pics... the reason i had you run the example above from the help file was to make sure that the "Built-in" icons are available... the icons that are missing from your picture are from that same source thats already on your computer...

example.. from my script

; set button pics

GUICtrlSetImage($Favr, "shell32.dll", 208)

... this is the same "star" that should show up in the help example above #208 from the shell32.dll

i also noted that your picture does not show the tiltle of the current view correctly... the "Builder View" that is underlined is enlargened

i dont know... maybe you have an older video driver... i dont think i can help you with any of that

really sorry... and thanks for trying so hard... maybe someone else with your type of system can see this post and help you more

anyways..... good luck

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

You have all the pics... the reason i had you run the example above from the help file was to make sure that the "Built-in" icons are available... the icons that are missing from your picture are from that same source thats already on your computer...

example.. from my script

; set button pics

GUICtrlSetImage($Favr, "shell32.dll", 208)

... this is the same "star" that should show up in the help example above #208 from the shell32.dll

i also noted that your picture does not show the tiltle of the current view correctly... the "Builder View" that is underlined is enlargened

i dont know... maybe you have an older video driver... i dont think i can help you with any of that

really sorry... and thanks for trying so hard... maybe someone else with your type of system can see this post and help you more

anyways..... good luck

8)

Thank you very much Valuater for your help.

Now I know why you asked me to run the example program. I run the progamm again and look at the icons more carefully, I only have 107 icons..no wonder 208 will be a blank. Some of my files are wrong or out of date?

Link to comment
Share on other sites

Thank you very much Valuater for your help.

Now I know why you asked me to run the example program. I run the progamm again and look at the icons more carefully, I only have 107 icons..no wonder 208 will be a blank. Some of my files are wrong or out of date?

After some sleep, I think I figured out that the missing icons is due to the difference between Win2k and XP.

IE-Builder uses XP based system resources which is different from Win2k.

On a different subject: Anyone knows why my function dropdown box is empty? e.g. for Core Functions, Frame functions,... do I need to put Ie.au3 in a specific place for IE-Builder to pickup the info? or again due to OS difference?

Thanks for any advices.

Link to comment
Share on other sites

i have no idea,,, it must be the OS

8)

again...

hopefully someone with the same OS can help you

Yes. it is a Win2k specific problem for IE-Builder..

I install all on a XP system and now everything look good.

Thanks very much for helping out a newbie.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...