The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus 1 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=38)
-   -   Project count (http://forums.omnigroup.com/showthread.php?t=10200)

ohammersmith 2008-10-12 09:18 AM

Project count
 
Is there a way to get a total project count from OmniFocus?

The only projects I'm concerened with are the ones that show up in the left navigation, not sub-projects under one of those.

Right now I'm counting by hand to limit myself to a set of open projects that I might actualy be able to achive in a week. :P

Lizard 2008-10-15 03:48 PM

A simple AppleScript could accomplish this. You might want to go ask in the Extras forum if anyone has written such.

Toadling 2008-10-16 12:23 PM

1 Attachment(s)
[QUOTE=ohammersmith;48745]Is there a way to get a total project count from OmniFocus?[/QUOTE]

Here's a script I quickly threw together for my own use. You're welcome to use/modify as you need.

[ATTACH]738[/ATTACH]

-Dennis

PS - Depending on the size of your database, it may take a few seconds to gather all the data. There may be a more efficient way to do it, but this is all I had time for at the moment.

[B]UPDATE June 16, 2009:[/B] A few updates have since been made to this script and can be found at: [URL="http://forums.omnigroup.com/showthread.php?p=52523#post52523"]http://forums.omnigroup.com/showthread.php?p=52523#post52523[/URL]

ohammersmith 2008-10-16 12:46 PM

That works beautifully for me. Thanks so much! :)

steve 2009-06-11 02:45 PM

Wow-- that is scary:

Active Folders: 11
Dropped Folders: 1
Total Folders: 12

Active Projects: 79
On Hold Projects: 253
Completed Projects: 104
Dropped Projects: 5
Total Projects: 441

Active Single-Action Lists: 4
On Hold Single-Action Lists: 8
Completed Single-Action Lists: 11
Dropped Single-Action Lists: 0
Total Single-Action Lists: 23

Chaz2010 2009-06-16 08:41 AM

Thanks so much for this script. It works incredibly well, and has sparked my interest to learn Applescript!

Active Folders: 13
Dropped Folders: 0
Total Folders: 13

Active Projects: 82
On Hold Projects: 6
Completed Projects: 63
Dropped Projects: 16
Total Projects: 167

Active Single-Action Lists: 11
On Hold Single-Action Lists: 0
Completed Single-Action Lists: 1
Dropped Single-Action Lists: 3
Total Single-Action Lists: 15

Toadling 2009-06-16 09:08 AM

[QUOTE=Chaz2010;61295]Thanks so much for this script. It works incredibly well, and has sparked my interest to learn Applescript![/QUOTE]

Glad you found it useful, Chaz2010. I'm not sure if you noticed, but there is a more recent version of this script at:

[URL="http://forums.omnigroup.com/showthread.php?p=52523#post52523"]http://forums.omnigroup.com/showthread.php?p=52523#post52523[/URL]

I updated my original post below as well.

As frustrating as AppleScript can be at times, it really does open up a whole new world on using your apps and tying them together. It's an extremely useful skill to have if you use your Mac regularly.

But with any luck, these sort of statistics will be built-in to a future version of OmniFocus and my humble script will be able to retire to a condo by the beach. :-)

-Dennis


All times are GMT -8. The time now is 01:17 PM.

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