Ruud:

This is just an FYI...

It would seem that KiXtart OLE has difficulty with retrieving get/set properties under Internet Explorer (5.5).

The following 3.63 script navigates to microsoft and displays a get-only property (nameprop) and a get/set property (title). KiXtart thinks that the get title is actually a method call and reports that it's missing ()'s ...

[KiX 3.63]

code:

break on


$ie = olecreateobject("internetexplorer.application")


if $ie


$= olecallfunc ($ie,"navigate","s","http://www.microsoft.com")


while olegetproperty($ie,"busy") <> "0" and @error = 0 loop
while olegetproperty($ie,"readystate") <> "4" and @error = 0 loop

$document = val("&"+olegetproperty($ie,"document"))


if $document


?"name=" olegetproperty($document,"nameprop")

?"title=" olegetproperty($document,"title")


endif


endif


exit


[KiX 2001 (kix32.exe)]

code:

break on


$ie = createobject("internetexplorer.application")


if $ie


$= $ie.navigate("http://www.microsoft.com")


while $ie.busy and @error = 0 loop
while $ie.readystate <> 4 and @error = 0 loop


$document = $ie.document


if $document


?"Name=" $document.nameprop


; The following get property does not work ...


?"Title=" $document.title


endif


endif


?"pause..." gets $k


exit


KiX2001 reports the following error:

Script error : invalid method/function call: missing '(' ! endif

Shawn.

[This message has been edited by Shawn (edited 04 April 2001).]