• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
URL Access problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: URL Access problems
      • From: Malcolm Fitzgerald <email@hidden>
    • Re: URL Access problems
      • From: Doug McNutt <email@hidden>
  • Prev by Date: RE: Trouble with double arrow script
  • Next by Date: Re: Trouble with double arrow script
  • Previous by thread: Can't read text file from 0
  • Next by thread: Re: URL Access problems
  • Index(es):
    • Date
    • Thread