Modify

Opened 11 years ago

Closed 10 years ago

#2500 closed Bug (No Bug)

_IEDocGetObj Help example $oDoc.fileCreatedDate error

Reported by: oz.mike@… Owned by:
Milestone: Component: Standard UDFs
Version: 3.3.8.1 Severity: None
Keywords: Cc:

Description

HI

The help example for _IEDocGetObj dosen't work on www.autoitscript.com
but does on www.google.com! So I suggest you change the HELP example ..

include <IE.au3>

Local $oIE = _IECreate("http://www.autoitscript.com")
Local $oDoc = _IEDocGetObj($oIE)
MsgBox(0, "Document Created Date", $oDoc.fileCreatedDate)

Fails with error
C:\Temp\mse4\test.au3 (5) : ==> The requested action with this object has failed.:
MsgBox(0, "Document Created Date", $oDoc.fileCreatedDate)
MsgBox(0, "Document Created Date", $oDoc.fileCreatedDate ERROR

include <IE.au3>

Local $oIE = _IECreate("http://www.google.com")
Local $oDoc = _IEDocGetObj($oIE)
MsgBox(0, "Document Created Date", $oDoc.fileCreatedDate)

Works?

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by guinness

I have changed the URL in the interim, but have left the ticket open in case this is indeed a bug.

comment:2 Changed 10 years ago by guinness

  • Component changed from Documentation to Standard UDFs

comment:3 Changed 10 years ago by Jpm

This may be related with the www.autoitscript.com WEB.

Jon can certainly answer this ticket

comment:4 Changed 10 years ago by Jon

  • Resolution set to No Bug
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.