Sign in to follow this  
Followers 0
Tiger

IEReadToArray

2 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



I think _IEBodyReadToArray() would be more an appropriate name.

Share this post


Link to post
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
Sign in to follow this  
Followers 0