Modify

#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 by guinness, on Dec 9, 2013 at 7:35:22 PM

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

comment:2 by guinness, on Dec 16, 2013 at 12:03:21 PM

Component: DocumentationStandard UDFs

comment:3 by J-Paul Mesnage, on Dec 16, 2013 at 2:38:05 PM

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

Jon can certainly answer this ticket

comment:4 by Jon, on Jan 4, 2014 at 12:32:00 PM

Resolution: No Bug
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.