Mac OS script to display sound alert on application switch or window pop-up
Good afternoon!
At work, everytime I receive a call, it does not matter what application is current in use, system automatically brings up the work system, informing the caller name and so forth.
The problem is: If I need to leave my workplace for a moment, I wouldn't want to worry about incoming calls and it would be perfect if I could solve it by scripting, terminal resource...
Ex.
--> Get current application name;
--> On application switch/ change {
import systemsounds;
play (beep);
}
Thanks in advance.
Apple TV, iOS 5.1