• 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: Finder Show Info Comments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder Show Info Comments


  • Subject: Re: Finder Show Info Comments
  • From: Eric Schlegel <email@hidden>
  • Date: Thu, 6 Dec 2001 09:12:01 -0800

On Thursday, December 6, 2001, at 08:18 AM, Alexandre Aybes wrote:

Stupid question: where do we find those Apple Events? :)

FinderRegistry.h has all the relevant constants. Also, this script in AppleScript will get the comment of a file:

tell application "Finder"
get comment of file "Foo:bar"
end tell

The Finder event suite, from what I know, is a fairly standard AppleEvent Object Model-based suite. You might take a look at "Creating Object Specifier Records" on pg. 6-55 of Inside Mac: Interapplication Communications for some information about creating object specifiers. You'll need to create an object specifier for the file that you want the comments of.

-eric


References: 
 >Re: Finder Show Info Comments (From: Alexandre Aybes <email@hidden>)

  • Prev by Date: Re: Drag and drop onto the desktop?
  • Next by Date: Re(2): A simple request
  • Previous by thread: Re: Finder Show Info Comments
  • Next by thread: Re: Finder Show Info Comments
  • Index(es):
    • Date
    • Thread