Re: 10.1 script insists on classic URL Access Scripting addition
Re: 10.1 script insists on classic URL Access Scripting addition
- Subject: Re: 10.1 script insists on classic URL Access Scripting addition
- From: Chris Nebel <email@hidden>
- Date: Thu, 27 Sep 2001 16:35:40 -0700
- Organization: Apple Computer, Inc.
Timothy Bates wrote:
>
Executes in X for me, but it just pretends to work (it returns the file ref
>
but does not in fact do anything).
>
>
tell application "URL Access Scripting"
>
Set tURL to "www.maccs.mq.edu.au/~tim/psyscript/index.html"
>
Set tDest to "Prelude:Desktop Folder:uhh?"
>
download tURL to file tDest
>
end tell
If you're using something earlier than 5G33 (I think -- maybe 5G40), this is a
known bug -- you can work around it by giving an explicit "unpacking"
parameter that matches the file. That is, if it's a binhexed file, say "with
unpacking", if it's not, as in this case, say "without unpacking". If you're
using 5G33 or later, we've got a problem.
--Chris Nebel
AppleScript Engineering