• 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
RE: URL access scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: URL access scripting


  • Subject: RE: URL access scripting
  • From: "Wadson, David" <email@hidden>
  • Date: Thu, 13 Dec 2001 11:46:58 -0500

The download command requires a file specification, not just the location.
There is an AppleScript Guidebook at www.apple.com/applescript that fully
explains URL Access Scripting and has plenty of examples...

> > OK, I am saying:
> >
> > tell application "URL Access Scripting"
> > download "ftp://ftp.MacOSphere.com/test.txt"; to desktop
> > end tell
> >
> > But getting error "Can't make some data into the expected type"
> >
> > What's wrong?
> >
> Well, I haven't used URL Access Scripting myself, but taking a quick look
> at
> its dictionary I don't see 'desktop' as one of its keyword parameters.
> Assuming (?) that the URL string is of a type that it likes, how about
> trying something that will return a file specification as its 'to'
> parameter
> says it requires? Will this work?
>
> download "ftp://ftp.MacOSphere.com/test.txt"; to (path to desktop)


  • Prev by Date: AppleScript Studio is here...
  • Next by Date: Re: R e: Coerce string to record or something like that?
  • Previous by thread: Re: URL access scripting
  • Next by thread: Re: URL access scripting
  • Index(es):
    • Date
    • Thread