URL Access problems
URL Access problems
- Subject: URL Access problems
- From: Brennan Young <email@hidden>
- Date: Thu, 16 Aug 2001 22:12:27 +0200
- Organization: Magic Lantern
Hi folks.
I've boiled down a much more complex script to this, which is not working.
Any ideas why?
set scratch to (new file)
set u to "
http://brennan.young.net"
tell application "URL Access Scripting"
(download u to scratch with replacing and progress)
end tell
It chokes on the download line complaining that 'some data was the wrong
type', but I can't see what that might be. The 'to' parameter should be a
file spec, and that's what's returned by 'new file'. All the other
parameters are constants.
Help!
--
_____________
Brennan Young
Artist, Composer and Multimedia programmer
mailto:email@hidden
"What the guy is supposed to do is feel uncomfortable and when he has bugs,
suspect the problem is DR-DOS and then go out and buy MS-DOS or decide not
to take the risk for the other machines in the office."
-Bill Gates