Heads up!

This website hasn't really been updated since 2013. It reflects my views and interests at the beginning of college so don't take it seriously.

John Backus

Instantly Remove All Distractions With Applescript, Alfred, and SelfControl

This is a traditional blog post

I prefer isolating myself from the world as much as possible when I’m working. I use Bose QC 15 headphones to cancel out the rest of the world’s noise, but between distracting websites, constant emails, messages, and RSS feeds, the digital world can be an even bigger distraction. I use SelfControl:

to block distracting websites, and Alfred to launch applications.

With a simple applescript to close all the applications that fight for my attention, launch the SelfControl website blocking tool, set it for an hour, and run it:

I can export the script as an application:

and now eliminate all of my distractions almost instantly in the future:


« Redesign! Before and after. Cost Analysis: Trubrain Proprietary Nootropic Blend vs. Generic Equivalent »