Use AppleScript to run tasks if computer has been idle
Member leenoble_uk at macosxhints cooked up a way to shut down Mail at
night unless he was working late, to avoid noisy late-night ‘new mail’ notifications that were disturbing sleep in the
next room. The AppleScript solution
involves a trick to determine the system idle time and shut down or leave the app running depending on whether or not
the machine was in current use.
Clever idea, and the system idle time routine can surely be used to cook up other handy scripts to make your Mac computing experience that much better. I think AppleScript must surely be the unsung hero of the Mac OS, and I’m thinking it is high time I learned to speak it fluently, myself.
Subscribe to Newsletter
Software Updatesmore updates
- Vizzywig 8xHD price tag now a very affordable $49.99
- Automatic targets teen drivers with License+ service
- Dropbox adds support for TouchID
- YouTube for iOS gets updated with full support for iPhone 6 and 6 Plus
- iOS 8.0.1 update now available (Updated -- Don't update!)
- NFL Mobile updated for 2014 Season with new Fantasy Football features, NFL Now integration