Re: To Extract the More Info Information from Get Info
Re: To Extract the More Info Information from Get Info
- Subject: Re: To Extract the More Info Information from Get Info
- From: Jim Thorton <email@hidden>
- Date: Sun, 14 Aug 2011 08:05:06 +0900
Yes. Thanks, Mahal. I've figured that out after reading the following post.
http://www.mailinglistarchive.com/email@hidden/msg02428.html
Yours truly,
Jim
On Aug 11, 2011, at 6:11 PM, Martin mahal Halter wrote:
> 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