Re: Getting Individual Metadata Items with ASObjC
Re: Getting Individual Metadata Items with ASObjC
- Subject: Re: Getting Individual Metadata Items with ASObjC
- From: Christopher Stone <email@hidden>
- Date: Fri, 10 Jun 2016 09:06:27 -0500
On Jun 10, 2016, at 07:37, Shane Stanley <email@hidden> wrote:
You can use this:
set theMetadata to theNSMetadataItem's valueForAttribute:"kMDItemWhereFroms"
The attributes are effectively the keys to a dictionary. ______________________________________________________________________
Hey Shane,
Cool. Thank you.
Can you get multiple keys at once? Something like this doesn't work.
set theMetadata to theNSMetadataItem's valueForAttributes:{"kMDItemWhereFroms", "kMDItemFSCreationDate"}
|
_______________________________________________
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