Re: "label index" wrong in 10.5?
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?
|
_______________________________________________
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