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)
-   -   Applescript to cycle through task states (http://forums.omnigroup.com/showthread.php?t=3934)

spnyc 2007-06-23 08:37 AM

Applescript to cycle through task states
 
I find myself going to the filter ribbon to switch between next, available and remaining task states pretty much all the time throughout the day, so i thought i would simplify that process by automating it via applescript, and assigning it a [URL="http://quicksilver.blacktree.com/"]QuickSilver[/URL] hotkey.

You can specify as few as two states (one would make this script useless), and up to all of them; note that remaining tasks are referred to as incomplete.

You can also manually set the order of the task state in which the script cycles; i happen to like next > available > remaining > flagged > and back to next ... but you could easily just do flagged > next > available > and back to flagged or whatever else floats your productivity boat

I have posted it to my webpage along with a couple other scripts at: [URL="http://www.sandro.org/omnifocus/index.php"]http://www.sandro.org/omnifocus/index.php[/URL]

Enjoy...

Craig 2007-06-23 09:46 AM

Works great - thanks for sharing!

bongoman 2007-06-24 04:50 AM

Love it. Thanks :)

Craig 2007-07-04 02:19 PM

Looks like Omni's latest work on the filter broke this script...
EDIT: Saw the update [URL="http://www.sandro.org/omnifocus/index.php"]here[/URL]. I'll check it out.

spnyc 2007-07-04 02:25 PM

[QUOTE=Craig]Looks like Omni's latest work on the filter broke this script...
EDIT: Saw the update [URL="http://www.sandro.org/omnifocus/index.php"]here[/URL]. I'll check it out.[/QUOTE]

there was a build in the last couple of days that changed how flags are handled which did indeed break my script. to fix it, you can either simply remove the "flagged" option for the list of possible options to cycle through, or download a new version where i did it for you at: [url]http://www.sandro.org/omnifocus/index.php[/url]

as soon as the good omni folks include applescript methods for accessing that new flagged pulldown, i will either tweak the script if possible or release another one...


All times are GMT -8. The time now is 04:47 PM.

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