Jump to content

IEReadToArray


Tiger
 Share

Recommended Posts

I wrote a script. The script read the ie-window to an array

#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.2.7.1 (beta)
 Author:         Tiger

 Script Function:
    Template AutoIt script.

#ce ----------------------------------------------------------------------------

#include <Array.au3>
#include <IE.au3>

$array = _IEReadToArray("http://www.autoitscript.com/autoit3/files/beta/update.dat")

_ArrayDisplay($array)

Func _IEReadToArray($s_url)
    
    Dim $ie_array
    
    $oIE = _IECreate($s_url, 0, 0)
    $sText = _IEBodyReadText ($oIE)
    
    $ie_array = StringSplit(StringStripCR($sText), @LF)
    
    Return $ie_array
    
EndFunc   ;==>_IEReadToArray

IEReadToArray.au3

Edited by Tiger
My UDFs:- _RegEnumKey
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...