iTunes and Screensavers

iTunes and Screensavers - Pause iTunes when screensaver activates
Download

iTunes and Screensavers Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Monkeybread Software
  • Publisher web site:
  • http://www.monkeybreadsoftware.de/
  • Operating Systems:
  • macOS
  • File Size:
  • 926 KB
  • Release Date:
  • 2021-06-18 10:41:49

iTunes and Screensavers Tags


iTunes and Screensavers Description

iTunes and Screensavers - Pause iTunes when screensaver activates 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.


iTunes and Screensavers Related Software