It is annoying, when while watching film, I get growl notifications or mail notifications with Herald. I thought that one way to solve this is to set VLC's 'z-index' higher, than Growl's and Herald's notification boxes. Or maybe I can add hook to VLC going fullscreen/windowed, so it will disable both Growl and Herald for that time. Any advice?
If anyone interested, I wrote a small app some time ago and decided to post it here. It is a wrapper around any player (default is VLC, setting player is done by dropping player on app). When you open moveie with it, it quits GrowlHelperApp
and HeraldAgent
(note that it will not be possible to interact with Mail.app
using mouse, and both agents will be launched back when player quits). Also, if movie is opened with fn
pressed, volume and brightness are morphed to 85% (and morphed back when player quits).
Best Answer
Open the AppleScript Editor, save as application, when saving check the box "Stay Open". Use this new applescript application to launch the VLC application.
Description: It will launch VLC, turn off growl notifications, check every 2s to see if VLC has quit, if so it will turn growl notifications back on and then quit. As a bonus, it will use growl notifications to notify you when growl notifications will be turned on or off. Yeah, because that's the cool way to do it.
Not familiar with Herald, but this will give you a start. Just check to see what Herald's background process is and modify the script accordingly… or quit/relaunch the "Mail" process.