Url Access Scripting Error
Url Access Scripting Error
- Subject: Url Access Scripting Error
- From: Carl Anderson <email@hidden>
- Date: Sat, 27 Mar 2004 17:08:04 -0500
I have written the following bit of code and have been unable to get it
to work. When I run it I get an error message that says "Error: -1700.
URL Access Scripting got an error: Can't make some data into the
expected type. I can't figure what's wrong. can anyone help?
Sincerely;
Carl Anderson
tell application "URL Access Scripting"
with timeout of 240 seconds
try
download
"
http://www.comics.com/comics/alleyoop/archive/images/
alleyoop22440020040301.gif" to ("Macintosh
HD:Users:carlande:Desktop:Test:alleyoop:040301.gif") replacing yes
on error the error_message number the error_number
display dialog "Error: " & error_number & ". " & ,
error_message buttons ("Cancel") default button 1
display dialog "Sorry, couldn't download the webpage" with icon 2
quit
end try
end timeout
end tell
_______________________________________________
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.