![]() Load the launchd entryįinally, open a terminal and run: launchctl load ~/Library/LaunchAgents/my. If the Library folder is hidden, you can open Finder, press Cmd Shift G and paste ~/Library to open it. plist extension under /Users/your-username/Library/LaunchAgents/my. Then open your favourite text editor or the Property List Editor.app that comes with the Mac OS X Dev tools on Snow Leopard or is integrated into Xcode on Lion.Įither way, paste the following contents, but make sure to change the path to the script accordingly (it't the one we remembered above): Users/your-username/SelfControl.scpt, which would be in our home folder. Now, from AppleScript Editor, save this file somewhere by pressing File » Save, e.g. 24 hours) here so you can automatically kick off SelfControl for the maximum time. Set value of text field 2 of scroll area 1 of group 1 to myPass Tell slider of window "SelfControl" to set value to myTimeĬlick button "Start" of window "SelfControl" Tell application "SelfControl" to activate Set myPass to do shell script "echo " & x & " | perl -pe 's/]//g'" eliminate invisible characters, or "gremlins," from password Set myPass to (password of first generic item ¬ Tell application "Usable Keychain Scripting" Paste the following contents (originally from here)to a new window of AppleScript Editor.app: on run argv ![]() Click 'Add', and you should now have a new application password entitled 'SelfControl' in your Keychain. Under Keychain Item Name, type 'SelfControl.' Make up any Account Name in the next field, and in the Password field, type the password for your user account (the password you would use to authenticate anything in OS X). ![]() Create a new password by typing Cmd-N or going to File » New Password Item. You'll need to download and install Daniel Jalkut's Usable Keychain Scripting to quickly and securely access your admin password in order to activate SelfControl. Then, SelfControl will always start up when you log in. Either drag and drop SelfControl into the list, or click the "+" button and navigate to its location. Simply open System Preferences from the /Applications folder, select "Accounts" and, with your user name highlighted in the list to the left, select the "Login items" tab. What tools do you use to eliminate distractions? Share your thoughts below about SelfControl or other helpful tools in the comments.Yes. Strangely enough though, I'm writing this post to procrastinate on the screenplay I'm currently working on. I find that when writing, removing distractions - or more importantly the ability to be distracted - is invaluable for getting work done. Only do this if you really need to drop off from the face of the planet, which is important for writers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |