• 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: Artist in iTunes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Artist in iTunes


  • Subject: Re: Artist in iTunes
  • From: Lewis Butler <email@hidden>
  • Date: Wed, 13 Aug 2003 17:55:16 -0600

On Tuesday, 12 August 2003, at 20:17, Marcus Rodrigues wrote:
What is the correct statement for getting a track Artist?

tell applications "iTunes"
if player stat is playing then
set x to name of current track & " by " & artist of current track & " from " & album of current track & \
" (" & time of current track & ")"
set the clipboard to x
end if
end tell

is what I use


I did:

tell application "iTunes"
set theMusic to name of current track
set theArtist to artist of theMusic

set the artist to the artist of the name of the current track?

tell application "iTunes"
set theMusic to name of current track
tell theMusic
set theArtist to artist of theMusic

see above

--
Instant karma's gonna get you
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Artist in iTunes
      • From: Lewis Butler <email@hidden>
References: 
 >Artist in iTunes (From: Marcus Rodrigues <email@hidden>)

  • Prev by Date: Re: Where is "osascript"?
  • Next by Date: Re: Why this doesn't work?
  • Previous by thread: Re: Artist in iTunes
  • Next by thread: Re: Artist in iTunes
  • Index(es):
    • Date
    • Thread