• 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: "label index" wrong in 10.5?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "label index" wrong in 10.5?


  • Subject: Re: "label index" wrong in 10.5?
  • From: Philip Aker <email@hidden>
  • Date: Thu, 08 Nov 2007 23:20:25 -0800

On 2007-11-08, at 19:55, Steve Mills wrote:

Anybody else noticed that the indices returned for Finder's "label index" is wrong in 10.5? I have a script that now works incorrectly in 10.5. It worked correctly in 10.4.x.

Now that you mention it, things look totally uncoordinated between the MetaData label info and the Finder label info on the same 10.4 machine. Download the osax at: <http://www.vcn.bc.ca/~philip> then try this script. You'll have to change the path to something valid for your setup.

set fpath to ((path to desktop folder as text) & "pdf_reference.pdf")
set mdlabel to item 1 of (md info for fpath reporting kMDItemFSLabel)
tell application "Finder"
set flabel to label index of item fpath
end tell
{kMDItemFSLabel of mdlabel, flabel}


--> {6, 2}

Huh?

Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@



 _______________________________________________
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

  • Follow-Ups:
    • Re: "label index" wrong in 10.5?
      • From: Steve Mills <email@hidden>
References: 
 >"label index" wrong in 10.5? (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Metadata.osax: odd behavior trying to install
  • Next by Date: Eject in Leopard
  • Previous by thread: "label index" wrong in 10.5?
  • Next by thread: Re: "label index" wrong in 10.5?
  • Index(es):
    • Date
    • Thread