Jump to content

Search the Community

Showing results for tags 'internet.explorer'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • Forum FAQ
  • AutoIt

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Greetings, all. At my wit's end trying to read element properties derived from css using IE.au3. The information here seems not to work for me, sadly. Anyway, my test case should be the best explanation. #include <IE.au3> Local $window_width = 640 Local $window_height = 480 $oIE = _IECreate() Local $sHTML = "" $sHTML &= "<HTML>" & @CR $sHTML &= "<TITLE>UNIQUE IDENTIFIER FOR WINDOW CLOSE</TITLE>" & @CR $sHTML &= "<HEAD>" & @CR $sHTML &= '<STYLE>.image_div {background-image: url("http://i.imgur.com/T8A46Yb.png"); width: 256px; height: 256px;}</STYLE>' & @CR $sHTML &= "</HEAD>" & @CR $sHTML &= '<body><table><tbody><tr><td id="my_div" class="image_div"></td></tr></tbody></table></body></html>' _IEDocWriteHTML($oIE, $sHTML) _IEAction($oIE, "refresh") Local $my_div = _IEGetObjById($oIE, "my_div") ;I'm trying to examine the DOM and SOMEHOW get the "http://i.imgur.com/T8A46Yb.png" address ;these seem to return empty strings ConsoleWrite(@CRLF & '$my_div.getAttribute("style") - ' & $my_div.getAttribute("style")) ConsoleWrite(@CRLF & '$my_div.getAttribute("background-image") - ' & $my_div.getAttribute("background-image")) ConsoleWrite(@CRLF & '$my_div.getAttribute("cssText") - ' & $my_div.getAttribute("cssText")) ;these return zero ConsoleWrite(@CRLF & '$my_div.style.csstext - ' & $my_div.style.csstext) ConsoleWrite(@CRLF & '$my_div.style.cssText - ' & $my_div.style.cssText) ConsoleWrite(@CRLF & '$my_div.style.CSSText - ' & $my_div.style.CSSText) ConsoleWrite(@CRLF) sleep(5000) WinClose("UNIQUE IDENTIFIER FOR WINDOW CLOSE") Basically I'm trying to get the src of a background image set through css. Any help would be much appreciated. Thank you for your time.
×
×
  • Create New...