Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate


MacIrssi and iTunes applescript
Sunday, September 27th, 2009 at 10:53:37pm UTC 

  1. -- small script to use for displaying iTunes track+artist+album wherever you open an applescript
  2. -- when iTunes is running
  3. tell application "iTunes"
  5.         if player state is playing then
  6.                 -- get track, artist and album
  7.                 set currenttrack to the name of current track
  8.                 set currentartist to the artist of current track
  9.                 set currentalbum to the album of current track
  10.                 -- show track, artist and album
  11.                 set titleinfo to (currenttrack & " - " & currentartist & " | " & currentalbum)
  12.                 set output to titleinfo
  13.         end if
  14. end tell


Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)

Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus