• 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 Comment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder Comment


  • Subject: Re: Finder Comment
  • From: Yvan KOENIG <email@hidden>
  • Date: Fri, 4 Dec 2009 17:18:30 +0100


Le 4 déc. 2009 à 15:57, Luther Fuller a écrit :


I have also noticed that while a file without a comment should have

kMDItemFinderComment = ""

in the metadata,

Who told you that it must behave this way ?
In many preferences plists, fields doesn't exist as long as they aren't defined once.
If we defined them once and set them to nil after that, the field continue to exist.

Just one example : 
in com.apple.iWork.Pages.plist, by default, the field "FormatXML" doesn't exist .
As I want that linebreaks are inserted to make the xml files more legible, I define the field as a string whose value is "Yes".
If I decide to disable the feature, I have two choices:

(1) set the field value to "No"
(2) remove completely the field.

it actually has metadata that lacks the kMDItemFinderComment parameter.
This parameter only appears when you write a comment (set comment of fileAlias to ...).

From my point of view it's the normal behavior.

Yvan KOENIG (VALLAURIS, France) vendredi 4 décembre 2009 17:18:24


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Finder Comment (From: Luther Fuller <email@hidden>)
 >Re: Finder Comment (From: Thomas Fischer <email@hidden>)
 >Re: Finder Comment (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Finder Comment
  • Next by Date: Re: Recursion and Stack overflow
  • Previous by thread: Re: Finder Comment
  • Next by thread: Re: Finder Comment
  • Index(es):
    • Date
    • Thread