Rapide Posted July 12, 2019 Share Posted July 12, 2019 I am another noob at autoit and I dont understand how to detect plus download the embedded flash file on a site. So this is how my program will work- I give the URL and even download location as inputs, and download the flash/swf file as output. I want the program to detect the flash file in the whole site automatically by itself. My friend told me I will have to use Inetget and stringregexp, I understood Inetget but not stringregexp so I need a simple example program, thank you😃 Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted July 12, 2019 Share Posted July 12, 2019 @Rapide At least, post the code you have done so far, and an example with the expected result Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Rapide Posted July 12, 2019 Author Share Posted July 12, 2019 (edited) 11 minutes ago, FrancescoDiMuro said: @Rapide At least, post the code you have done so far, and an example with the expected result this is the code but it only works when the flash file itself is mentioned further in the URL and thats little slow procedure so i am seeking for an alternative as said above HotKeySet("{printscreen}","myexit") #include <InetConstants.au3> #include <MsgBoxConstants.au3> #include <WinAPIFiles.au3> example1() Func example1() Local $sFilePath = " " Local $hDownload = InetGet(' ', $sFilePath, $INET_FORCERELOAD, $INET_DOWNLOADBACKGROUND) Do Sleep(250) Until InetGetInfo($hDownload, $INET_DOWNLOADCOMPLETE) EndFunc GUI: Edited July 12, 2019 by Rapide Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted July 12, 2019 Share Posted July 12, 2019 3 hours ago, Rapide said: Local $sFilePath = " " Where's the file path? Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Rapide Posted July 12, 2019 Author Share Posted July 12, 2019 22 minutes ago, FrancescoDiMuro said: Where's the file path? Removed filepath and site on purpose, the downloading part (inetget) works but the main thing I want to know - how to get the source of flash file on a URL site before inetget Link to comment Share on other sites More sharing options...
Developers Jos Posted July 12, 2019 Developers Share Posted July 12, 2019 (edited) Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation as stated in PM - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. The Moderation team Edited July 12, 2019 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts