Jump to content

IE.au3 Library / Builder


Valuater
 Share

Recommended Posts

  • 2 months later...

Just wanted to say that I downloaded the zip and looked at the examples .txt file and then I tried building and running the example that pulls the temperatures from that Hong Kong page and it gave me an error, so I did a little thinking and tried replacing the function

IETableGetObjByIndex

with the function

_IETableGetCollection

and it worked like a charm! you might want to update this. Thanks :whistle:

Edit: how can I get the output to be put into an Excel sheet and saved? Any links with examples? I'll do some searches in the mean time.

Edited by st3ady
Link to comment
Share on other sites

Just wanted to say that I downloaded the zip and looked at the examples .txt file and then I tried building and running the example that pulls the temperatures from that Hong Kong page and it gave me an error, so I did a little thinking and tried replacing the function

IETableGetObjByIndex

with the function

_IETableGetCollection

and it worked like a charm! you might want to update this. Thanks :whistle:

Edit: how can I get the output to be put into an Excel sheet and saved? Any links with examples? I'll do some searches in the mean time.

for excell, i used this ( example )

Func Open_Office()
    FileDelete($data_Location & "Address.bak")
    FileDelete($data_Location & "Office.csv")
    FileCopy($File_Location, $data_Location & "Address.bak", 1)
    $length = _FileCountLines($data_Location & "Address.bak")
    $Rfile = FileOpen($data_Location & "Address.bak", 0)
    $Wfile = FileOpen($data_Location & "Office.csv", 2)
    For $x = 2 To $length ; - 1
        $line = FileReadLine($Rfile, $x)
        If @error = -1 Then ExitLoop
        $line_pos = StringInStr($line, "=")
        FileWriteLine($Wfile, StringTrimLeft($line, $line_pos))
    Next
    FileClose($Rfile)
    FileClose($Wfile)
    $Off_loc = FileGetShortName($data_Location & "Office.csv")
    Run(@ComSpec & " /c Start " & $Off_loc, "", @SW_HIDE)
EndFunc

also ptrex, randall and a couple of others have wriiten some great excel UDF/Examples

http://www.autoitscript.com/forum/index.ph...ghlite=%2Bexcel

8)

NEWHeader1.png

Link to comment
Share on other sites

  • 2 months later...
  • Moderators

How is IE_Builder.rar installed and used,

after downloading it ?

You just extract the contents of the rar file into a folder and run the script as usual.

I am using autoit to time the number of seconds it takes

an ASP web page to return data to the screen. Will

IE_Builder help with that ?

I tried to help you here, but you never replied back with any more information.
Link to comment
Share on other sites

You just extract the contents of the rar file into a folder and run the script as usual.

I tried to help you here, but you never replied back with any more information.

Oh, is .rar a compressed file like zip files ? It looked

all garbled when I opened it in Notepad. How do I

extract it to a script file ?

Andy

Link to comment
Share on other sites

  • 10 months later...

Updated to ver 2.0.0 by big_daddy

Fixed: formatting of submitted code

Fixed: clicking twice on same view made it disappear

Fixed: a few layout issues

Fixed: naming of variables

Updated: all functions

Added: function syntax population

To-Do: Update examples

Requirements:

IE.au3 version T2.0-3 or later, and latest beta of course

IE-Builder v2.0

previous 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 objects

UpDated 6-15-2006 ver 2.0.0

by big_daddy

*************

UpDated 2-18-2006 ver 1.0.3

added - Check all locations for Beta

*************

UpDated 1-12-2006. ver 1.0.2

added - list All Html Elements

added - list Image view

added - list Anchor Tags view

added - 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 Release

added - minimize button

added - ini file and favorites button

added - search stop/continue through source

added - error checking

and more

Could you please verify that IE-Builder v2.0 zip version is still ok?

I keep getting an error message when I ry to unzip it.

Link to comment
Share on other sites

Could you please verify that IE-Builder v2.0 zip version is still ok?

I keep getting an error message when I ry to unzip it.

Nothing wrong with .rar file

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

Very Nice.

Just a couple of things I noticed;

1) The button icons for the lower row on the left are wrong (XP Sp2)

2) I had to change the GUI height to @DesktopHeight -60 so that my taskbar would display (set to 1024 x 768)

All in all, a great job.

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

Nothing wrong with .rar file

Standard naming procedure is *.rar for a rar file - but it shows up as IE_Builder.zip

So we should rename it to IE_Builder.rar before working with it ...

Strange world we live in :) (talk about relying on conventions ^_^)

Link to comment
Share on other sites

Standard naming procedure is *.rar for a rar file - but it shows up as IE_Builder.zip

So we should rename it to IE_Builder.rar before working with it ...

Strange world we live in :) (talk about relying on conventions ^_^)

I didn't rename it, it saved with the .rar extension on my system

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

I didn't rename it, it saved with the .rar extension on my system

Oh, interesting!

I'm using Opera as browser - wondering what made it change the extension ...

Well, anyway, looking forward to disect it for answers to all the questions I have.

Thanks for all your work!

Link to comment
Share on other sites

Under Internet Explorer on the other computer, it showed up as *.rar (this is the first rar file for me since around 2002, lol).

But then I realized that the examples were already well-known.

From the recent post I had deduced there might be something new in it ... could have saved all the effort ...

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...

Sorry to push this old post but i need some help!When I tried to open the Builder

Line 53 (File "H:\Documents and Settings\Owner\My Documents\Dickson's\Hacks\Autoit_123\IE_Builder\IE-library_v2.0.au3"):

$VLabel = GUICtrlCreateLabel("IE-Builder View", 10, 140, 140, 43, $SS_CENTER)

$VLabel = GUICtrlCreateLabel("IE-Builder View", 10, 140, 140, 43, ^ ERROR

Error: Variable used without being declared.

Heres the Error Script line!i'm still new to this please help me do it?or tell me step by step how to?thanks!

The Problem line is 53

50:#region Parent GUI

51:$GUI = GUICreate(" IE-Builder " & $ver, @DesktopWidth - 5, @DesktopHeight - 30, 0, 0);, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_OVERLAPPEDWINDOW + $WS_MAXIMIZE) ;, $WS_EX_TOPMOST )

52:

53:$VLabel = GUICtrlCreateLabel("IE-Builder View", 10, 140, 140, 43, $SS_CENTER)

54:GUICtrlSetFont(-1, 16, 700, 4, "MS Sans Serif")

55:$VAbout = GUICtrlCreateButton("", 15, 60, 40, 30, $BS_ICON)

56:$VImg = GUICtrlCreateButton("", 105, 60, 40, 30, $BS_ICON)

57:$VFavr = GUICtrlCreateButton("", 60, 60, 40, 30, $BS_ICON)

58:$VBack = GUICtrlCreateButton("Back", 15, 20, 40, 30, $BS_BITMAP)

59:$VForward = GUICtrlCreateButton("Forward", 60, 20, 40, 30, $BS_BITMAP)

60:$VRefresh = GUICtrlCreateButton("Refresh", 105, 20, 40, 30, $BS_BITMAP)

61:$VGo = GUICtrlCreateButton("GO", 800, 20, 50, 30, $BS_BITMAP)

62:$VMnmz = GUICtrlCreateButton("Min", 855, 20, 50, 30, $BS_ICON)

63:$VExit = GUICtrlCreateButton("Exit", 910, 20, 50, 30, $BS_ICON)

Link to comment
Share on other sites

This is the difference between the public release and the newest beta. When this was designed it used the latest beta, however to use the "Now Newest Beta"

Based on the new Beta ver 3.2.11.1+

If you replace this

#include <GUIConstants.au3>oÝ÷ Û­Øb±«­¢+Ø¥¹±Õ±ÐíU%
½¹ÍѹÑÍà¹ÔÌÐì)%Õѽ%ÑYÉÍ¥½¸ÐìÅÕ½Ðì̸ȸÄÀÅÕ½ÐìQ¡¸(¥¹±Õ±Ðí]¥¹½ÝÍ
½¹ÍѹÑ̹ÔÌÐì(¥¹±Õ±ÐíMÑÑ¥
½¹ÍѹÑ̹ÔÌÐì(¥¹±Õ±Ðí ÕÑѽ¹
½¹ÍѹÑ̹ÔÌÐì)¹%

it seemed to work for me on my minimal testing. But it will work with the latest public release "as-is"

8)

NEWHeader1.png

Link to comment
Share on other sites

This is the difference between the public release and the newest beta. When this was designed it used the latest beta, however to use the "Now Newest Beta"

Based on the new Beta ver 3.2.11.1+

If you replace this

#include <GUIConstants.au3>oÝ÷ Û­Øb±«­¢+Ø¥¹±Õ±ÐíU%
½¹ÍѹÑÍà¹ÔÌÐì)%Õѽ%ÑYÉÍ¥½¸ÐìÅÕ½Ðì̸ȸÄÀÅÕ½ÐìQ¡¸(¥¹±Õ±Ðí]¥¹½ÝÍ
½¹ÍѹÑ̹ÔÌÐì(¥¹±Õ±ÐíMÑÑ¥
½¹ÍѹÑ̹ÔÌÐì(¥¹±Õ±Ðí ÕÑѽ¹
½¹ÍѹÑ̹ÔÌÐì)¹%

it seemed to work for me on my minimal testing. But it will work with the latest public release "as-is"

8)

The If /endif doesn't do anything for #include lines so just put the include lines.
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

The If /endif doesn't do anything for #include lines so just put the include lines.

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)

Edited by Valuater

NEWHeader1.png

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...