Skip to Content

Submit your nominations for the Luxist Awards' Best in Decor
AOL Tech

Use AppleScript to run tasks if computer has been idle

AppleScript

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.

Reader Comments (Page 1 of 1)

Tip of the Day

Reply in the Mail.app with a specific quote.
Select the text you want quoted and then hit the reply button.
Only your selected text will copied to the reply email.


Follow us on Twitter!
 TUAW [Cafepress]

Featured Galleries

DNC Macs
Macworld 2008 Keynote
Macworld 2008 Build-up
Google Earth for iPhone
Podcaster
Storyist 2.0
AT&T Navigator Road Test
Bento for iPhone 1.0
Scrabble for iPhone
Tom Bihn Checkpoint Flyer Briefcase
Apple Vanity Plates
Apple booth Macworld 07
WorldVoice Radio
Quickoffice for iPhone 1.1.1
Daylite 3.9 Review
DiscPainter
Mariner Calc for iPhone
2009CupertinoBus
Crash Bandicoot Nitro Kart 3D
MLB.com At Bat 2009
Macworld Expo 2007 show floor

 

More Apple Analysis

AOL Radio TUAW on Stitcher