• 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: Shane Stanley <email@hidden>
  • Date: Sat, 11 Jun 2016 09:32:07 +1000

On 11 Jun 2016, at 12:06 AM, Christopher Stone <email@hidden> wrote:

Can you get multiple keys at once?  Something like this doesn't work.

set theMetadata to theNSMetadataItem's valueForAttributes:{"kMDItemWhereFroms", "kMDItemFSCreationDate"}

Use "valuesForAttributes:" -- you need the extra "s".

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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

References: 
 >Getting Individual Metadata Items with ASObjC (From: Christopher Stone <email@hidden>)
 >Re: Getting Individual Metadata Items with ASObjC (From: Shane Stanley <email@hidden>)
 >Re: Getting Individual Metadata Items with ASObjC (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Best Method to Filter Lists?
  • Next by Date: Re: How to create a document?
  • Previous by thread: Re: Getting Individual Metadata Items with ASObjC
  • Next by thread: Script Debugger (and UI Browser)
  • Index(es):
    • Date
    • Thread