iTunes and Screensavers 1.2 review
DownloadiTunes 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.
|
|
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 has no interface and it will quit if you log out but if you want to quit this app without logging out you can use the Process Viewer to quit the process.
What's New:
Moved project to Realbasic 5.5 and newer plugins.
Fixed problem with users of Script Debugger from latenightsw.com.
iTunes and Screensavers 1.2 search tags