• 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: iTunes: KIND was: Applescript-users Digest, Vol 2, Issue 304
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iTunes: KIND was: Applescript-users Digest, Vol 2, Issue 304


  • Subject: Re: iTunes: KIND was: Applescript-users Digest, Vol 2, Issue 304
  • From: Eric C Saunders <email@hidden>
  • Date: Wed, 25 May 2005 11:42:57 -0400


On May 25, 2005, at 9:42 AM, JF Neto wrote:

> Hi,
>
> 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?


It appears from the dictionary that "Track" inherits properties from "Item"

Class item: an item
Plural form:
        items
Properties:
        container  reference  [r/o]  -- the container of the item
        name  Unicode text  -- the name of the item

As you can see from the "Item" listing, name is available to use, so

tell application "iTunes"
        set name of track 1 of playlist "MyNewPlaylist" to "This Song Rocks!!!"
end tell

Is this helpful?
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service._______________________________________________________________

This electronic message contains information from MeadWestvaco
Corporation or subsidiary companies, which may be confidential,
privileged or otherwise protected from disclosure. The
information is intended to be used solely by the recipient(s)
named. If you are not an intended recipient, be aware that
any review, disclosure, copying, distribution or use of this
transmission or its contents is prohibited. If you have
received this transmission in error, please notify MeadWestvaco
immediately at email@hidden.
_______________________________________________________________________
 _______________________________________________
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

References: 
 >iTunes: KIND was: Applescript-users Digest, Vol 2, Issue 304 (From: "Steven D. Majewski" <email@hidden>)

  • Prev by Date: Re: Executing a shell command from apple script
  • Next by Date: [ann] TextCommands 0.4.0
  • Previous by thread: iTunes: KIND was: Applescript-users Digest, Vol 2, Issue 304
  • Next by thread: Re: Changing track name in QuickTime Player (was: Applescript-users Digest, Vol 2, Issue 304)
  • Index(es):
    • Date
    • Thread