Here is a solution for time tracking integrated with OmniFocus. It takes the currently selected task or project, and logs start and stop times in OmniFocus. I have it setup as a button in the toolbar in OmniFocus which works well.
- The front-most OmniOutliner document is used. The script probably needs to save a preference pointing to the document to use.
- A modal dialog is displayed in OmniFocus to stop the timer. This means that you can't interact with OmniFocus in any way until you stop the timer. I have a few ideas for addressing this, but suggestions are welcome
- It needs a nice icon (I personally am using the Clock icon that ships with Ubuntu's Gnome)