$array[0] = nr of links
$array[1] = link 1
$array[n] = link n
if no images are found @error = 2 and $array = 0
Posted 07 June 2005 - 07:12 PM
Posted 14 June 2005 - 09:31 AM
AutoIt Error
Line 24 (File "D:\AutoIt3\include\_INetGetImage.au3");
$v_HTTP = ObjCreate ("winhttp.winhttprequest.5.1")
$v_HTTP = ^ ERROR
Error: Unknown function name.
Posted 14 June 2005 - 12:51 PM
all versions of autoit are freeI have installed the newest free version of AutoIt...
Posted 14 June 2005 - 01:22 PM
#cs ;ALL ROOT URLS MUST END IN '/' ;good: <a href='http://www.autoitscript.com/' class='bbc_url' title=''>http://www.autoitscript.com/</a> ;good: <a href='http://www.autoitscript.com/index.php' class='bbc_url' title=''>http://www.autoitscript.com/index.php</a> ;BAD: <a href='http://www.autoitscript.com' class='bbc_url' title=''>http://www.autoitscript.com</a> $var = _INetGetImage('http://www.autoitscript.com/') If NOT @ERROR Then For $i = 1 to $var[0] ConsoleWrite($var[$i] & @LF) Next EndIf #ce
If StringRight($s_URL) <> "/" And StringRight($s_URL, 4) = ".com" Then $s_URL = $s_URL & "/" EndIf
Edited by Burrup, 14 June 2005 - 01:27 PM.
Posted 14 June 2005 - 01:59 PM
exactlyEdit: Whoops, forget there is also .net, .org plus all the country prefix's, .au, .de etc. Maybe it should be left to the user
.
Posted 15 June 2005 - 07:00 PM
Func _AddTrSlash( $URLraw );; Add trailing slash Local $CharSep, $URLraw, $URL $CharSep = StringSplit( $URLraw, "" ) If $CharSep[$CharSep[0]] <> "/" Then $URL = $URLraw & "/" EndIf Return $URL EndFunc
Edited by Wus, 15 June 2005 - 07:07 PM.
Posted 15 June 2005 - 07:04 PM
0 members, 0 guests, 0 anonymous users