Re: Display Keys-Values in Spotligh
Re: Display Keys-Values in Spotligh
- Subject: Re: Display Keys-Values in Spotligh
- From: Vince DeMarco <email@hidden>
- Date: Fri, 13 May 2005 15:26:07 -0700
notice that the uti from mdls is like this "com.mydomain.myapp.hxpy"
in your schema file you have it as mixed case.
We do need to fix this, and will at a latter date, but this is the
workaround
Vince
On May 13, 2005, at 2:45 PM, Lorenzo wrote:
ok I got this. No mention about my own keys nor
kMDItemDurationSeconds. :-0
d099:~ lorenzop$ /usr/bin/mdls /Users/lorenzop/Desktop/Untitled/
Myfile.hxpy
/Users/lorenzop/Desktop/Untitled/Myfile.hxpy -------------
kMDItemAttributeChangeDate = 2005-05-13 18:14:06 +0200
kMDItemContentCreationDate = 2005-05-13 16:44:52 +0200
kMDItemContentModificationDate = 2005-05-13 16:44:52 +0200
kMDItemContentType = "com.mydomain.myapp.hxpy"
kMDItemContentTypeTree = ("com.mydomain.myapp.hxpy",
"public.data",
"public.item")
kMDItemDisplayName = "Myfile.hxpy"
kMDItemFSContentChangeDate = 2005-05-13 16:44:52 +0200
kMDItemFSCreationDate = 2005-05-13 16:44:52 +0200
kMDItemFSCreatorCode = 0
kMDItemFSFinderFlags = 0
kMDItemFSInvisible = 0
kMDItemFSLabel = 0
kMDItemFSName = "Myfile.hxpy"
kMDItemFSNodeCount = 0
kMDItemFSOwnerGroupID = 501
kMDItemFSOwnerUserID = 501
kMDItemFSSize = 5584
kMDItemFSTypeCode = 0
kMDItemID = 441476
kMDItemKind = "My Kind"
kMDItemLastUsedDate = 2005-05-13 18:14:06 +0200
kMDItemUsedDates = (2005-05-13 16:44:24 +0200,
2005-05-13
02:00:00 +0200)
d099:~ lorenzop$
Best Regards
--
Lorenzo
email: email@hidden
From: Vince DeMarco <email@hidden>
Date: Fri, 13 May 2005 14:26:26 -0700
To: Lorenzo <email@hidden>
Cc: email@hidden
Subject: Re: Display Keys-Values in Spotligh
On May 13, 2005, at 2:19 PM, Lorenzo wrote:
The otput is
d099:~ lorenzop$ mdls /Users/lorenzo/Desktop/Untitled/Myfile.hxpy
-bash: mdls: command not found
add /usr/bin/ to you path.
/usr/bin/mdls /my/file
Best Regards
--
Lorenzo
email: email@hidden
From: Vince DeMarco <email@hidden>
Date: Fri, 13 May 2005 13:31:44 -0700
To: Lorenzo <email@hidden>
Cc: email@hidden
Subject: Re: Display Keys-Values in Spotligh
do an mdls on your file whats the output??
Vince
On May 13, 2005, at 3:38 AM, Lorenzo wrote:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden