Rép: download a PDF file
Rép: download a PDF file
- Subject: Rép: download a PDF file
- From: KOENIG Yvan <email@hidden>
- Date: Sat, 31 Jan 2009 22:20:40 +0100
Le 31 janv. 2009 à 22:02, Mark J. Reed a écrit :
set u to "http://manuals.info.apple.com/" & l & "/" & fname
do shell script ("curl -o " & quoted form of (posix path of
p2d & "/" & fname) & " " & quoted form of u)
Thanks Mark
Of course it was the correct formula.
Here is the script without some original typos.
--[SCRIPT]
property p2d : ""
set p2d to path to desktop as text
my downloadGuide("fr_FR", "Keynote", "Guide_de_l_utilisateur")
my downloadGuide("fr_FR", "Numbers", "Guide_de_l_utilisateur")
my downloadGuide("fr_FR", "Pages", "Guide_de_l_utilisateur")
my downloadGuide("en_US", "Keynote", "UserGuide")
my downloadGuide("en_US", "Numbers", "UserGuide")
my downloadGuide("en_US", "Pages", "UserGuide")
--=====
on downloadGuide(l, t1, t2)
set fname to t1 & "09_" & t2 & ".pdf"
set u to "http://manuals.info.apple.com/" & l & "/" & fname
do shell script ("curl -o " & quoted form of (POSIX path of p2d &
"/" & fname) & " " & quoted form of u)
end downloadGuide
--[/SCRIPT]
Yvan KOENIG (from FRANCE samedi 31 janvier 2009 22:16:29)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden