Every example I see goes like this:
set filepath to "disk:folder:filename"
tell application "URL Access Scripting"
activate
download "http://blahdiblah.html" to filepath
end tell
I think I've even done it that way, although I can't find an example
in my library.
But it gives me "URL Access Scripting got an error: Some data was the
wrong type." I've tried
to alias filepath
to file filepath
to file alias filepath
and probably a few others.
Or is it complaining about the contents of the page it's downloading?
I've tried a couple of different pages with the same result.
--
Bill Steele
[log in to unmask]