Re: Quicktime get info
Re: Quicktime get info
- Subject: Re: Quicktime get info
- From: Axel Luttgens <email@hidden>
- Date: Mon, 6 Oct 2008 14:10:20 +0200
Le 6 oct. 08 à 13:29, Dmitry Gorbik a écrit :
Hello,
how to get current movie info? I found this:
macbookpro% osascript -e 'tell application "QuickTime Player" to
properties of track 1 of movie 1'
39:49: execution error: QuickTime Player got an error: AppleEvent
handler failed. (-10000)
didn't work for me.
Nor did it here. It looks like that the "properties" property is
broken in QTP; one thus has to query for individual propertie, eg:
data format of track 1 of document 1
On the other hand, should it provide you with the needed info, you
could also have a look at System Events' QuickTime File Suite:
tell application "System Events" to get properties of track 1 of
QuickTime file "/path/to/file"
HTH,
Axel _______________________________________________
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