• 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: Info for question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Info for question


  • Subject: Re: Info for question
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 16 Jun 2001 10:06:27 -0700

On 6/15/01 4:00 PM, I wrote:

> Although the description says 'the alias, file specification, or path to
> the file or folder' it's not actually true. The true class is the one
> listed : 'file specification'. That requires that you write 'file' before
> the path. 'alias' will work just as well, since AppleScript will happily
> coerce 'alias' (assuming there really is a file at that location) into
> 'file specification'. Or you can even write '[filePath] as file
> specification' and that will work too.
>

Correction: that last sentence is not true. You can't coerce a string path
name 'as file specification' without an osax coercion, as Nigel Garvey has
pointed out to me privately, and I've just confirmed.

I believe I have been able to do this, not with 'info for', but within the
specific context of a 'save' command as implemented by Outlook Express. I'm
going to check that out too to make sure. But in any case, it does not work
in plain AppleScript, nor with the 'info for' command, without one of the
osax coercions installed. You need 'file [filePath]' to refer to a file
specification.


--
Paul Berkowitz


  • Prev by Date: Re: Replacing Codes with Text
  • Next by Date: Eudora mailbox folders
  • Previous by thread: Re: Info for question - Eureka?
  • Next by thread: AS Training books/sites/CD's?
  • Index(es):
    • Date
    • Thread