• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing track name in QuickTime Player (was: Applescript-users Digest, Vol 2, Issue 304)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Changing track name in QuickTime Player
      • From: JF Neto <email@hidden>
References: 
 >Re: Applescript-users Digest, Vol 2, Issue 304 (From: JF Neto <email@hidden>)

  • Prev by Date: Re: Entourage Bcc and cc
  • Next by Date: Re: [ann] TextCommands 0.4.0
  • Previous by thread: Re: iTunes: KIND was: Applescript-users Digest, Vol 2, Issue 304
  • Next by thread: Re: Changing track name in QuickTime Player
  • Index(es):
    • Date
    • Thread