• 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: To Extract the More Info Information from Get Info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: To Extract the More Info Information from Get Info


  • Subject: Re: To Extract the More Info Information from Get Info
  • From: Martin mahal Halter <email@hidden>
  • Date: Thu, 11 Aug 2011 11:11:02 +0200

Dear Jim,

all those infos are metadata stored in Spotlight, like last opened, Authors and the like. I don't know of any direct access of Spotlight directly in Apple Script.

To access those, you can use the spotlight interface provided in the shell: mdls

Adam Bell wrote a great tutorial on using mdls in Apple Script:

http://macscripter.net/viewtopic.php?id=24765

http://macscripter.net/viewtopic.php?id=24761

http://macscripter.net/viewtopic.php?id=27833

All the keys you can access are documented here:
http://developer.apple.com/library/mac/#documentation/Carbon/Reference/MetadataAttributesRef/Reference/CommonAttrs.html#//apple_ref/doc/uid/TP40001694-SW1

Best regards,

mahal



Am 10.08.2011 um 08:49 schrieb Jim Thorton:

> Dear AppleScripters,
>
> Hello.  I know that you can easily get the file information on a file by assigning a variable to 'properties of file.'  The information you get with properties is what you see from Get Info (Press Command + I on a file.).  And you will see the same information under the General category.  Actually, the Info window contains more data.  If you see what you have under the More Info category, it should also have a line that says Last opened...  If the file extension is emix (Mail message), there may be additional lines including Content Created, Authors, Recipients under More Info.  If it's a QuickTime-readable audio file, there may be additional lines including Duration, Audio channels, Total bit rate under the More Info category.  I wonder if AppleScript lets you extract these pieces of information?
>
> Thank you for your advice.
>
> Jim
> _______________________________________________
> 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

 _______________________________________________
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: To Extract the More Info Information from Get Info
      • From: Jim Thorton <email@hidden>
References: 
 >To Extract the More Info Information from Get Info (From: Jim Thorton <email@hidden>)

  • Prev by Date: Re: Scrolling in Lion
  • Next by Date: Re: Scrolling in Lion
  • Previous by thread: To Extract the More Info Information from Get Info
  • Next by thread: Re: To Extract the More Info Information from Get Info
  • Index(es):
    • Date
    • Thread