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: 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 | # ]