• 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: Getting Individual Metadata Items with ASObjC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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"}

--
Take Care,
Chris

 _______________________________________________
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: Getting Individual Metadata Items with ASObjC
      • From: Shane Stanley <email@hidden>
References: 
 >Getting Individual Metadata Items with ASObjC (From: Christopher Stone <email@hidden>)
 >Re: Getting Individual Metadata Items with ASObjC (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Getting Individual Metadata Items with ASObjC
  • Next by Date: Re: Best Method to Filter Lists?
  • Previous by thread: Re: Getting Individual Metadata Items with ASObjC
  • Next by thread: Re: Getting Individual Metadata Items with ASObjC
  • Index(es):
    • Date
    • Thread