iTunes and Screensavers


License: Freeware
Downloads: 3
Op. System: Mac OS X, Mac Universal Binary
Last updated: 25 Jan. 2008
File size: 2.67 MB
Publisher: 120547
Related software:

Publisher description for iTunes and Screensavers

iTunes and Screensavers program icon

iTunes keeps information about how often a song was played, but this information is not correct if it still plays my music when I'm away from my Mac. So this application will run silently in the background and watch for the screensaver. If the screensaver starts and iTunes is playing the playback is paused. As soon as the screensaver stops the music plays again. This application was made in Realbasic in only 10 minutes. Some classes from the MBS Realbasic Plugin helped: First we have a subclass of the CarbonApplicationEventsMBS class which receives an event from the system whenever an application is launched. Using the ProcessMBS class we check whether the launched application is the screen saver and whether iTunes is running. In case iTunes runs we stop the music using an AppleScript which is compiled and executed using the AppleScriptMBS class. In the event handler for terminating applications we check if this is the screen saver. In case the screen saver quits we tell iTunes to play again. This application runs in the background and can be quit using the Activity Monitor (see /Applications/Utilities folder). For best results, just add this app to the login items in the preferences. This application is freeware and provided as is.

Add your review

User reviews