NELyon Posted August 21, 2006 Share Posted August 21, 2006 (edited) I'm working on a flash grabbing tool. I'm having a little trouble here though. Instead of MsgBoxing a flash url, it displays this: http://....some url in the page source Rest of page source ... ... ... ... some flash url.swf Ok, that was confusing Heres my code so far. This is just the structure i'm working on, but i will be adding a GUI if i can get this figured out: #Include <INet.au3> $url = InputBox("Flash Getter", "Enter a url to grap flash from", "http://") $source = _INetGetSource($url) $i = 1 $i = $i + 1 $begin = StringInStr ($source, "http://", 0, $i) $mid = StringMid($source, $begin) $end = StringInStr ( $source, ".swf" ) $address = StringMid ( $source, $begin, $end - $begin + 4 ) MsgBox(0,"", $address) Can anyone help me with this? EDIT: yes, I know it says "getter" Edited August 21, 2006 by codemyster Link to comment Share on other sites More sharing options...
NELyon Posted August 22, 2006 Author Share Posted August 22, 2006 Bump Can anyone help me? I can't get this figured out Link to comment Share on other sites More sharing options...
Zedna Posted August 22, 2006 Share Posted August 22, 2006 Can anyone help me? I can't get this figured outIt will be much better with IE.au3 UDFget url for SWF and then use InetGet() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
NELyon Posted August 23, 2006 Author Share Posted August 23, 2006 How would i do that? I was gonnna INetGet what is displayed in the MsgBox, i just put a MsgBox to see if it would return the right string Link to comment Share on other sites More sharing options...
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