Jump to content
Sign in to follow this  
XIXI

_IETableGetCollection..

Recommended Posts

XIXI

$Count = 0
    Do
        $oTable = _IETableGetCollection($o_IE, $Count)
        $aTableData = _IETableWriteToArray($oTable)
        $Count += 1
    Until UBound($aTableData) = 9

This script worked until i downloaded a the new IE.AU3 header...

So anyone that know what might be wrong? I'm getting the error:

ERROR: _IETableGetCollection() called with wrong number of args.
        $oTable = _IETableGetCollection($o_IE, $Count)

Edit: I've actually tried to search the forum before I asked here, and I couldn't find anything that helped me out.

Edited by XIXI

Share this post


Link to post
Share on other sites
PsaltyDS

$Count = 0
    Do
        $oTable = _IETableGetCollection($o_IE, $Count)
        $aTableData = _IETableWriteToArray($oTable)
        $Count += 1
    Until UBound($aTableData) = 9

This script worked until i downloaded a the new IE.AU3 header...

So anyone that know what might be wrong? I'm getting the error:

ERROR: _IETableGetCollection() called with wrong number of args.
        $oTable = _IETableGetCollection($o_IE, $Count)

Edit: I've actually tried to search the forum before I asked here, and I couldn't find anything that helped me out.

What version of the "header" did you download? What version of AutoIt are you running? If that error came from SciTE running Syntax Check, what version of SciTE are you using?

The current production version of AutoIt is 3.2.10.0, the current Beta is 3.2.11.0, and there is a new SciTE up dated 01/26/08 that incorporates changes for 3.2.11.0 Beta.

:D


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
XIXI

Autoit is version: 3.2.10.0

And I got the new Scite, I've tried to refind the thread where I downloaded the new header, but I can't. I had the 3.2.10.0 version header forgot to check if the one i downloaded was newer or older, but my other scripts tend to work normally :D

Share this post


Link to post
Share on other sites
PsaltyDS

Autoit is version: 3.2.10.0

And I got the new Scite, I've tried to refind the thread where I downloaded the new header, but I can't. I had the 3.2.10.0 version header forgot to check if the one i downloaded was newer or older, but my other scripts tend to work normally :D

That's not a good sign. The only include file you need (assuming that's what you mean by "header") is IE.au3, which is included with AutoIt 3.2.10.0. If you downloaded it from anywhere, it is likely not as up to date as the version shipped with AutoIt. If you open the actual IE.au3 file, there is a version number at the top.

The version of IE.au3 shipped with AutoIt 3.2.10.0 is: V2.3-1 dated: 8/13/07

With 3.2.11.0 Beta is: V2.4-0 dated: 12/31/07

:P


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
XIXI

Version: T1.4

Last Update: 7/24/05

XD i tought i downloaded a update, not a downgrade.. thanks.. I'll download it back :D

Share this post


Link to post
Share on other sites
Thatsgreat2345

I didn't like how you wrote your code.

For $i = 0 To 9
        $oTable = _IETableGetCollection($oIE,$i)
        $aTableData = _IETableWriteToArray($oTable)
    NextoÝ÷ Ù«­¢+Ø$ÀÌØí½Q±Ìô}%Q±Ñ
½±±Ñ¥½¸ ÀÌØí½%¤(%½ÈÀÌØí½Q±%¸ÀÌØí½Q±Ì($$ÀÌØíQ±Ñô}%Q±]É¥ÑQ½ÉÉä ÀÌØí½Q±¤(%9áÐ

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.