To .jpg or not
To .jpg or not
- Subject: To .jpg or not
- From: Carl Anderson <email@hidden>
- Date: Fri, 19 Mar 2004 03:35:51 -0500
I have written an applescript that does not work. It is listed below:
tell application "Finder"
set theUrl to "
http://webaddress.jpg"
set theFile to (((path to desktop folder) as text)& "test:test.jpg")
end tell
tell application "URL Access Scripting"
with timeout of 60 seconds
try
download URL heUrl to (theFile) replacing yes
display dialog "Download Successful" with icon note
on error
display dialog "Sorry, couldn't download the webpage" with icon 2
end try
end timeout
end tell
If I remove the .jpg from the line "set theFile to "Macintosh
HD:Users:carlande:Desktop:Test:Test.jpg"" the script works.Is this
documented anywhere?
Sincerely;
Carl Anderson
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.