Re: Changing track name in QuickTime Player
Re: Changing track name in QuickTime Player
- Subject: Re: Changing track name in QuickTime Player
- From: JF Neto <email@hidden>
- Date: Wed, 25 May 2005 20:19:00 -0300
Thank you Kai,
I'm aware of the difference NAME / KIND and that KIND is r/o as well.
It is weird that using the app QTPlayer I can change the kind but not
using applescript.
The solution suggested sets the NAME in ANNOTATION, while what I need
is specifically change the kind in order to make a bunch of movies
compatible with an master movie that already exists and makes decisions
based on the KIND of each track.
Thanks for your help.
José Francisco Neto
Projetos Especiais
email@hidden
www.modulos.com.br
11 3872 2999
11 8122 2518
On 25/05/2005, at 19:12, kai wrote:
On Wednesday, May 25, 2005, at 02:42 pm, JF Neto wrote:
I'm trying to build an script to change the name (which is expressed
in the dictinary as KIND) of certains audio tracks, but i've failed
writing.
I can get the KIND but not set it. Any ideas?
--
tell application "QuickTime Player"
activate
tell movie 1
activate
set m_list to kind of track 2
tell track 1
get kind
set kind to "portugues"
end tell
end tell
end tell
The track properties 'name' and 'kind' are not synonymous in my
dictionary, José - although a string like "Movie" might be used as a
value for either.
While 'kind' is specified as read only here, 'name' is not. You might
therefore try something like:
----------------
tell application "QuickTime Player" to ¬
set track 1's name to "portugues"
----------------
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden