Changes between Initial Version and Version 2 of Ticket #2972


Ignore:
Timestamp:
Mar 10, 2026, 8:53:57 PM (14 hours ago)
Author:
mLipok
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2972

    • Property Owner set to mLipok
    • Property Status newassigned
  • Ticket #2972 – Description

    initial v2  
    22It can be solved just adding a simple function as:
    33
    4 {{{
     4{{{#!autoit lineno=1 marks=8,11-13
     5#include <IE.au3>
     6
     7_Example()
     8
     9Func _Example()
     10        Local $oIE = _IECreate("www.autoitscript.com")
     11        Local $oBody = $oIE.document.body
     12        ConsoleWrite('! "Class" = ' & _IEAttributeGet($oBody, "class") & @CRLF)
     13EndFunc   ;==>_Example
     14
    515Func _IEAttributeGet($obj, $attr)
    6    $obj.GetAttribute($attr)
    7 EndFunc
     16        Return $obj.GetAttribute($attr)
     17EndFunc   ;==>_IEAttributeGet
     18
    819}}}