ConsultingJoe Posted March 17, 2006 Posted March 17, 2006 It may need error checking but It downloads the first occourence of ".swf" to FLASH.swftry it on the site http://www.albinoblacksheep.com/flash/hampsterand anywhere else you can think oflet me know what you think and tweak awayYou must have beta and ie.au3#include <ie.au3> AutoItSetOption( "WinTextMatchMode", 2) TrayTip("Flash Downloader", "select the browser to search in", 3) while 1 $title = WinGetTitle ( "" ) if StringInStr( $title, " - Microsoft Internet Explorer") Then ExitLoop WEnd $title = StringReplace($title, " - Microsoft Internet Explorer", "") $oIE1 = _IEAttach ($title) $source = _IEBodyReadHTML ($oIE1) $end = StringInStr ( $source, ".swf" ) $begin = 1 $i = 0 while $begin > 0 and $begin < $end $i = $i + 1 $begin = StringInStr ($source, "http://", 0, $i) WEnd $i = $i - 1 $begin = StringInStr ($source, "http://", 0, $i) $address = StringMid ( $source, $begin, $end - $begin + 4 ) $size = InetGetSize ( $address ) InetGet ( $address,"FLASH.swf", 1, 1) TrayTip( "Flash Address:", $address, 2) sleep(2000) While @InetGetActive TrayTip("Downloading", @InetGetBytesRead & "/" & $size, 10, 16) Sleep(250) Wend TrayTip("Download Complete", "100%", 10, 16) sleep(1500) Check out ConsultingJoe.com
dnsi Posted April 26, 2006 Posted April 26, 2006 Cool My Programs:Flip-Flop File Encryption SysyemMULTIPLAYER-SOCKETSERVERHide An Archive In A Picture
ConsultingJoe Posted April 27, 2006 Author Posted April 27, 2006 Coollol, you just now found this, it doesn't like to work with banners because of variables tho Check out ConsultingJoe.com
UTA Posted April 28, 2006 Posted April 28, 2006 I get the same error message as mike.Sorry, does not work for me...a IE.au3-problem....
ConsultingJoe Posted April 28, 2006 Author Posted April 28, 2006 I get the same error message as mike.Sorry, does not work for me...a IE.au3-problem....what you need is the IE.au3 and an already opened Internet Explorer window else it will put out the error.goto: this link then minimize the window and run the script. Check out ConsultingJoe.com
ConsultingJoe Posted April 28, 2006 Author Posted April 28, 2006 Ohh, I tried this on a different pc and I'm getting $object is not type object. I don't know exactly why this is doing this. I will ask dale. thanks Check out ConsultingJoe.com
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now