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.
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...
Subscribe to Newsletter
Software Updatesmore updates
- IFTTT adds a location channel to its iOS App
- Plants vs. Zombies 2 gets upgraded map, more 'cool' stuff
- Remote Desktop update brings OS X Mavericks support and improved multi-display support
- Valve revamps Steam Mobile for iOS
- Google Drive iOS app finally lets you sort items and find and replace in documents
- Viber announces Viber Out calls for iOS, goes head to head with Skype