43 Folders

Back to Work

Merlin’s weekly podcast with Dan Benjamin. We talk about creativity, independence, and making things you love.

Join us via RSS, iTunes, or at 5by5.tv.

”What’s 43 Folders?”
43Folders.com is Merlin Mann’s website about finding the time and attention to do your best creative work.

osx assisted anti-procastination hack?

Most of my procrastination comes in the form of surfing the web, reading RSS feeds, or checking email.
Do you know if an applescript can turn off airport for a specific time?
This would be a great anti-procastination hack. Even better if it would be Password protected and is shouting "Cheater" at you if you try to bypass the lockout ;)

TOPICS: Mac OS X
Todd V's picture

re: Sending Unix Commands via Applescript

Yes, you can send Unix commands using Applescript.

When making an applescript just add this line of code:

with timeout of x seconds
      do shell script "insert the Unix command-line between the quotes"
end timeout

Make sure to change the x to the number of seconds to complete the task.

You may also have to add a line following after the quote (with administrator privileges) for certain Unix commands that need administrator permissions.

Hope that helps.

Todd V

 
EXPLORE 43Folders THE GOOD STUFF

Popular
Today

Popular
Classics

An Oblique Strategy:
Honor thy error as a hidden intention


STAY IN THE LOOP:

Subscribe with Google Reader

Subscribe on Netvibes

Add to Technorati Favorites

Subscribe on Pageflakes

Add RSS feed

The Podcast Feed

Cranking

Merlin used to crank. He’s not cranking any more.

This is an essay about family, priorities, and Shakey’s Pizza, and it’s probably the best thing he’s written. »

Scared Shitless

Merlin’s scared. You’re scared. Everybody is scared.

This is the video of Merlin’s keynote at Webstock 2011. The one where he cried. You should watch it. »