Jump to content
Sign in to follow this  
Rapide

autoit program to detect plus download flash file - (Locked)

Recommended Posts

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😃

Share this post


Link to post
Share on other sites
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:

 

gui.jpg

Edited by Rapide

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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 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.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...