Re: Changing track name in QuickTime Player (was: Applescript-users Digest, Vol 2, Issue 304)
Re: Changing track name in QuickTime Player (was: Applescript-users Digest, Vol 2, Issue 304)
- Subject: Re: Changing track name in QuickTime Player (was: Applescript-users Digest, Vol 2, Issue 304)
- From: kai <email@hidden>
- Date: Wed, 25 May 2005 23:12:31 +0100
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