Petite correction : )
j'avais fait ça à l'époque avec MAC OS 9.2…:
tell application "Internet Explorer"
Activate
repeat with i from 1 to 100
tell application "Finder"
make new file at folder "hi" of disk "MacOS" with properties
{name:"wxj" & i & ".jpg"}
end tell
set outputFile to "MacOS:hi:" & "wxj" & i & ".jpg"
GetURL "
http://example.com/" & i & ".jpg" to outputFile
end repeat
end tell
Ben, ça marchait!
J'espère que ça vous aidera
Didier
Le mercredi, 27 fév 2008, à 15:52 America/Cayenne, PJ a écrit :
> Oui, mais je suis sous MAC OS 9.1 ! Je ne crois pas que ceci marche
> ailleurs
> que sous OS X...
>
>> De : Patrick Proniewski <patpro@???>
>> Répondre à : La liste AppleScript Francophone
>> <applescript_fr@???>
>> Date : Wed, 27 Feb 2008 16:46:51 +0100
>> À : La liste AppleScript Francophone <applescript_fr@???>
>> Objet : Re: [AS] T élé chargement d'une liste de fichiers
>>
>> Salut,
>>
>> quite à utiliser des appli externes, autant se la faire courte :
>>
>> do shell script "curl -O http://example.com/[1-10].jpg"
>>
>>
>> patpro
>>
>> _______________________________________________
>> Applescript_fr mailing list
>> Applescript_fr@???
>> http://listes.patpro.net/mailman/listinfo/applescript_fr
>
> _______________________________________________
> Applescript_fr mailing list
> Applescript_fr@???
> http://listes.patpro.net/mailman/listinfo/applescript_fr
>
_______________________________________________
Applescript_fr mailing list
Applescript_fr@???
http://listes.patpro.net/mailman/listinfo/applescript_fr