|
|
iTunes Applescripts
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.
iTunes Applescripts
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 tellthis 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.]
iTunes Applescripts
Wow, that's pretty cool. Fortunately for me my apartment is so small I can see my Cinema HD from anywhere! :)
Speaking iTunes Applescripts
WAY COOL, Thanx!!! |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|