--checks the processor of the mac
set proc to system attribute "sysa"
if button returned of result is "OK" and proc is "2" then
set download to "http://www.t-mobile.at/officetogoSW/Web'n'walk Box comapct(V2_6)PPC.dmg"
set localFile to (choose file name default name "Web'n'walk Box compact(V2_6)PPC.dmg")
do shell script "curl " & quoted form of download & " -o " & quoted form of POSIX path of localFile
This is simply doing nothing. Does anybody has a suggestion?
set theLocation to (path to desktop) as text
set theDownload to theLocation & "Web'n'walk Box compact(V2_6)PPC.dmg"
set theLink to "http://www.t-mobile.at/officetogoSW/Web'n'walk Box compact(V2_6)PPC.dmg"
tell application "URL Access Scripting"
download theLink to file theDownload
end tell