From: Jaimie Vandenbergh on 28 Jun 2010 08:23 On 28 Jun 2010 08:59:50 GMT, zoara <me18(a)privacy.net> wrote: >zoara <me18(a)privacy.net> wrote: >> zoara <me18(a)privacy.net> wrote: >> >>> Since posting, I realised I could use an Applescript timer to trigger >> > a >>> "blocker" after 30 minutes or whatever. Ideally I'd like to trigger >>> something like SelfControl but that doesn't seem to be scriptable. >> >> Oooh look. >> >> http://www.makeuseof.com/tag/6-apps-to-help-you-focus-be-productive-mac/ >> >> do shell script "open -a \"SelfControl\"" >> tell application "SelfControl" >> activate >> end tell >> tell application "System Events" >> tell process "SelfControl" >> click button "Start" of window "SelfControl" >> end tell >> end tell >> >> That triggers the SelfControl timer. I know there are a couple of ways >> to turn SelfControl off once it's started, but I'm going to studiously >> ignore those. As it stands, I can't access Facebook (not that I really >> do, anyway) for the next thirty minutes, even if I reboot. Brilliant. >> >> Only downside is that I needed to enter my password for it to trigger. >> I >> hope I don't need to each time... but I can't check for another half >> hour or so. > >Sadly it always asks for the password. Is this likely to be something I >can get around (perhaps by marking the ipfw settings file as >user-writeable or something) or will I have to ask the developer? I >don't know how to work out whether the password dialog is controlled by >the application or the OS. Why not just use some alarm mini-app to pop up a note saying "get off the Intartubes and do some work, bucko" and then follow its advice? Cheers - Jaimie -- "I do not like the feel of the middle way; and I do not like the smell of the left hand way" -- J R R Tolkien
From: Chris Ridd on 28 Jun 2010 08:30 On 2010-06-28 13:23:21 +0100, Jaimie Vandenbergh said: > Why not just use some alarm mini-app to pop up a note saying "get off > the Intartubes and do some work, bucko" and then follow its advice? Wives are good at that. -- Chris
From: zoara on 28 Jun 2010 12:01 Jaimie Vandenbergh <jaimie(a)sometimes.sessile.org> wrote: > On 28 Jun 2010 08:59:50 GMT, zoara <me18(a)privacy.net> wrote: > >> zoara <me18(a)privacy.net> wrote: >>> zoara <me18(a)privacy.net> wrote: >>> >>>> Since posting, I realised I could use an Applescript timer to > > > > trigger >>>> a >>>> "blocker" after 30 minutes or whatever. Ideally I'd like to trigger >>>> something like SelfControl but that doesn't seem to be scriptable. >>> >>> Oooh look. >>> >>> http://www.makeuseof.com/tag/6-apps-to-help-you-focus-be-productive-mac/ >>> >>> do shell script "open -a \"SelfControl\"" >>> tell application "SelfControl" >>> activate >>> end tell >>> tell application "System Events" >>> tell process "SelfControl" >>> click button "Start" of window "SelfControl" >>> end tell >>> end tell >>> >>> That triggers the SelfControl timer. I know there are a couple of > > > ways >>> to turn SelfControl off once it's started, but I'm going to > > > studiously >>> ignore those. As it stands, I can't access Facebook (not that I > > > really >>> do, anyway) for the next thirty minutes, even if I reboot. > > > Brilliant. >>> >>> Only downside is that I needed to enter my password for it to > > > trigger. >>> I >>> hope I don't need to each time... but I can't check for another half >>> hour or so. >> >> Sadly it always asks for the password. Is this likely to be something > > I >> can get around (perhaps by marking the ipfw settings file as >> user-writeable or something) or will I have to ask the developer? I >> don't know how to work out whether the password dialog is controlled > > by >> the application or the OS. > > Why not just use some alarm mini-app to pop up a note saying "get off > the Intartubes and do some work, bucko" and then follow its advice? Because I'm weak. (it's actually never work; usually it's either "do something more emotionally rewarding, like reading a book" or "go to bed, it's too bloody late to be looking at lolcats". I do actually have a timer that does that. I keep ignoring it. -z- -- email: nettid1 at fastmail dot fm
From: Jaimie Vandenbergh on 28 Jun 2010 12:11 On 28 Jun 2010 16:01:33 GMT, zoara <me18(a)privacy.net> wrote: >Jaimie Vandenbergh <jaimie(a)sometimes.sessile.org> wrote: >> >> Why not just use some alarm mini-app to pop up a note saying "get off >> the Intartubes and do some work, bucko" and then follow its advice? > >Because I'm weak. > >(it's actually never work; usually it's either "do something more >emotionally rewarding, like reading a book" or "go to bed, it's too >bloody late to be looking at lolcats". > >I do actually have a timer that does that. I keep ignoring it. Aye, me too. I've got a Charlie Stross, an A Lee Martinez, and a Jasper Fforde to read - and here I am. Cheers - Jaimie -- #include "clue.h"
First
|
Prev
|
Pages: 1 2 Prev: Memory Upgrade Mac Mini Next: Why Americans are fat was Re: UK AEnglish Dictionary |