Sign in to follow this  
Followers 0
Kaeft

FF.au3 picture finding and downloading

2 posts in this topic

#1 ·  Posted (edited)

I read through quite a bit of this and I am now trying to figure out the best way to go about downloading pictures from a website.

This is the testing that I have done so far. (most likely wrong syntax)

#Include <FF.au3>
#Include <Array.au3>

_FFStart("http://ff-au3-example.thorsten-willert.de/")

If _FFIsConnected() Then
    $aLinks = _FFImagesGetBySize(16, 100, "lt", 0)
    _ArrayDisplay($aLinks)
EndIf

this produces an array of

[0]1
[1]4

changing the width from 100 to 50 makes

[0]1
[1]

I thought maybe the first array was the first orange line and the four squares at the bottom of the webpage that comes up. Now I'm not so sure. Where am I going wrong? Is this the best way to find an image on a webpage and then what would be the best way to download it? Maybe send a mouse click?

Also I am running firefox 2.0 for compatibility with mozrepl.

Edited by Kaeft

Share this post


Link to post
Share on other sites



Has anyone ever used _FFImagesGetBySize before? A quick forum search suggests no. Even more so a google search says no too!

Does anyone know if it works or how to use it?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0