• 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: Alias vs. Finder object (was: Accented Characters in Finder Names)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alias vs. Finder object (was: Accented Characters in Finder Names)


  • Subject: Re: Alias vs. Finder object (was: Accented Characters in Finder Names)
  • From: Paul Berkowitz <email@hidden>
  • Date: Fri, 19 Dec 2003 10:59:24 -0800

On 12/19/03 9:33 AM, "Michelle Steiner" <email@hidden> wrote:

> It appears that info for does not like Finder objects, but only works
> with aliases. Is this expected behavior because info for is not a
> Finder command?

The 'info for' entry in Standard Additions dictionary gives you the answer
to that:

info for - anything -- the alias or file reference to the file or
folder

('anything' never really means 'anything': it just means 'more than one data
type' so can't be specified more narrowly). 'alias of file reference' is
what it has to be, not a Finder object or any other object of any other
application.

> BTW, putting the "info for" line inside the
> tell-Finder block didn't help.

It wouldn't: once an application object, or list of objects, has been
defined in a tell block, they keep their context outside the tell block -
which can be extremely convenient. It's what allows you to pass such objects
as parameters to handlers, or return them as results of handlers, for
example. Matt Neuberg has a very good section on this in his new book.

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Alias vs. Finder object (was: Accented Characters in Finder Names) (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Automating some preferences
  • Next by Date: Re: [OFF] Non-U.S. email, date header day/month names? RFCs, etc.
  • Previous by thread: Alias vs. Finder object (was: Accented Characters in Finder Names)
  • Next by thread: Re: Accented Characters in Finder Names
  • Index(es):
    • Date
    • Thread