Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'iTunes Applescripts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
iTunes Applescripts
Authored by: tobypadilla on Nov 21, '02 06:24:17PM
Great tip. I use the the Keyspan Media remote to control iTunes, and have found it useful to bind similar scripts to my remote buttons. I also like to use iTunes Notifier when I'm sitting at my computer, but sometimes I like to see what song is playing from the couch. I ended up writting an Applescript that passes the song vars to a php page and opens up Chimera to display it. If anyone is interested in it I've posted it here. You'll need php set up on your machine, and you'll also need to edit the scripts to point at your home directory. There's also a script up that acts as an iTunes alarm clock (when scheduled by cron). It starts iTunes, sets the volume and starts playing songs in a Wake Up playlist. Enjoy.

[ Reply to This | # ]
iTunes Applescripts
Authored by: mkoz on Nov 22, '02 12:57:09PM
the php thing is neat, but what if you can't see your monitor? what if my computer could read my track info, wouldn't that be great, well it can. i made this applescript a while back so i could find out what was playing and not get in my way. here is the applescript:
property volumeLow : 50

tell application "iTunes"
  set t to current track
    
  set ts to name of t
    
  set art to artist of t
  if art is not "" then
    set ts to ts & " - " & art
  end if
    
  set alb to album of t
  if alb is not "" then
    set ts to ts & " - " & alb
  end if
    
  set origVol to sound volume
    
  if (volumeLow is less than sound volume) then
    set sound volume to volumeLow
  end if
end tell

say (ts as string)

tell application "iTunes"
 set sound volume to origVol
end tell
this script collects the track info from itunes, lowers the volume in itunes so you can hear the computer read the info, reads the info, and returns the volume to where it was before. you can change the value of the property volumeLow so itunes is louder or softer while reading the info. i also have this script attached to the pause button on my keyspan dmr. enjoy.

[robg adds: I edited the above script to insert some line breaks to reduce the width of this comment. The actual comment and the script were not changed.]

[ Reply to This | # ]
iTunes Applescripts
Authored by: tobypadilla on Nov 22, '02 06:22:55PM

Wow, that's pretty cool. Fortunately for me my apartment is so small I can see my Cinema HD from anywhere! :)



[ Reply to This | # ]
Speaking iTunes Applescripts
Authored by: GaelicWizard on Dec 04, '02 02:47:46AM

WAY COOL, Thanx!!!



[ Reply to This | # ]