The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus 1 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Built In 2 Minute Timer? Thread Tools Search this Thread Display Modes
Does anyone here know if the idea of putting a 2 minute timer in OmniFocus in the same way as the Yak Timer in Midnight Inbox has been considered. I haven't tried it, but it seems like a useful feature.
 
Hey mrubenson. There's nothing there as OmniFocus currently exists, but here's a _very_ simple script (that you could create in Applescript Editor and save in ~/Library/Scripts/Applications/OmniFocus/) that, literally, tells you "Time is up" after two minutes.
Code:
delay 120
do shell script "say Time is up"
It's an easy way to do it, but useless if your sound isn't up! (If you have Growl installed, perhaps you could go that route, too.)
 
Quote:
Originally Posted by derekr View Post
Code:
delay 120
do shell script "say Time is up"
I think that's generally a good approach - a script is a simple and flexible solution.

I would hesitate, however, to recommend the applescript delay command, which has had the reputation of being a surprisingly voracious resource hog, and, depending on the OS X version, might conceivably impact the perfomance of OmniFocus and any other applications that are struggling to get by.

BSD sleep has always been a good citizen, so an alternative might be something like:

Code:
do shell script "sleep 120"
say "Time is Up"
or

Code:
do shell script "sleep 120
say " & quoted form of "Hurry up please, it's Time ..."

--

Last edited by RobTrew; 2011-03-19 at 03:07 AM..
 
Thank you both of you for your responses! Do you have any advice on how to best create a system wide keyboard shortcut to start this script?
 
Quote:
Originally Posted by mrubenson View Post
Thank you both of you for your responses! Do you have any advice on how to best create a system wide keyboard shortcut to start this script?
If you don't want to tie up your applescript editor for two mins, you could just create a text file with a name like twomin.sh, and contents like:
Code:
#!/bin/bash
sleep 120
say "Hurry up please, its time ..."
save it in ~/Library/Scripts (where ~ is your user directory) and then try assigning a keystroke with a trial edition of something like FastsScripts or Keyboard Maestro.

--
 
Apparently there seems to be a built in function in Snow Leopard to create user Services with Automator and assign shortcut, bypassing the need for additional software for this. Too bad I'm still on Leopard...

I set up FastScripts instead, which seem to be working fine together with th suggested shell script. Thanks again!
 
There is a thread here: http://forums.omnigroup.com/showthre...ight=timeboxed which has a couple of scripts for two minute timers, using two different timer apps.
 
I've been using the StopIt! dashboard widget for my GTD timer for years:

http://www.metabang.com/widgets/stop-it/index.html

It's simple, and does the job. I have one instance of it set for 2 min for my GTD timer.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Timer Script - useful for 2 Minute Timer (uses Growl and TimeBoxed) Cottser OmniFocus Extras 7 2010-12-13 11:04 AM
1 minute WebDav Setup for Dreamhost Mauronic Other WebDAV 4 2010-03-23 06:42 AM
20 minute startup delay ericob OmniWeb Bug Reports 3 2007-09-18 02:18 PM
Hour/Minute/Second Repeats wkoffel OmniFocus 1 for Mac 3 2007-06-29 05:36 PM


All times are GMT -8. The time now is 03:35 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.