MACSCRPT Archives

January 2008

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 4 Jan 2008 20:47:57 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
On Jan 4, 2008, at 7:48 PM, Sander Tekelenburg wrote:

> At 00:18 +0100 UTC, on 2008-01-05, Sven Radke wrote:
>
> [...]
>
>> The Finder shows artist, year and album from mp3 files. So I hope
>> there's a way to "steal" this information...
>
> Finder probably calls QuickTime for that.
>
And quicktime can be called through system events.

tell application "System Events" to {Name, full text} of every  
annotation of contents of QuickTime file ("" & (choose file))

		{"Full Name", "Artist", "Composer", "Album", "Track", "Creation  
Date", "Comment"}
		{"Happy New Year", "Spike Jones & His City Slickers", "Eddie Brandt,  
Freddy Morgan", "Dr. Demento: Holidays in Dementia", "16/17", "1948",  
"album 1995"}

ATOM RSS1 RSS2