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)
-   -   Tasks "sometime this week" (http://forums.omnigroup.com/showthread.php?t=16909)

InAccuFacts 2010-07-28 06:05 AM

Tasks "sometime this week"
 
Hi, folks,

For the way my brain works, I like to have a few big goals for the month, from which I choose one or two for the week, from which I choose tasks for today (and maybe plan ahead for tomorrow).

These are not true hard-and-fast due dates, but I'm trying to figure out how I can view this type of scheme in OmniFocus.

Any thoughts? Thanks!

curt.clifton 2010-07-28 06:31 AM

I handle this by setting very short review intervals on my monthly goals (say 1 or 2 days). My morning review includes scanning over a Review perspective*. If there are tasks that I want to really focus on today, I flag those. Then in the course of the days work, I first knock off the urgent items (due today), then I work on the flagged items. To avoid the guilt of flagging more than I can do and feeling things pile up, I use a script to clear all the flags in my database at the end of the day.

Here are the settings for my Review perspective, which differs from the built-in one:[LIST][*] Project filter: Active[*] Grouping: Next Review[*] Sorting: Unsorted[*] Availability Filter: Remaining[*] Status Filter: Any Status[*] Estimated Time Filter: Any Duration[/LIST]
And below is the code for my script to clear flags. Note that this script requires the installation of Growl for notifications and will only work in OF 1.8 sneaky peeks. (See the [URL="http://forums.omnigroup.com/forumdisplay.php?f=44"]OF Extras forum[/URL] for [URL="http://forums.omnigroup.com/showthread.php?t=7453"]instructions on installing scripts for OF[/URL].)
[CODE]
(*
This script clears every flag in the front OmniFocus database.

version 0.1, by Curt Clifton

Copyright © 2010, Curtis Clifton

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

• Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

• Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

version 0.1: Original release
*)

(*
The following properties are used for script notification via Growl.
*)
property growlAppName : "Curt's Scripts"
property scriptStartNotification : "Script Began"
property scriptFinishNotification : "Script Completed"
property defaultNotifications : {scriptFinishNotification}
property allNotifications : defaultNotifications & {scriptStartNotification}
property iconLoaningApplication : "OmniFocus.app"

(*
Main entry point.
*)
try
set theResponse to display dialog "Really clear every flag in the OmniFocus database?" buttons {"Yes", "No"} default button "No" cancel button "No" with title "Clear Every Flag?" with icon caution
on error
return
end try
tell application "OmniFocus"

tell front document
set flagged of (every flattened task whose flagged is true) to false
end tell

end tell
my notify("Flags Cleared", "Flags cleared on all items in the database.", scriptFinishNotification)

(*
Uses Growl to display a notification message.
theTitle – a string giving the notification title
theDescription – a string describing the notification event
theNotificationKind – a string giving the notification kind (must be an element of allNotifications)
*)
on notify(theTitle, theDescription, theNotificationKind)
tell application "GrowlHelperApp"
register as application growlAppName all notifications allNotifications default notifications defaultNotifications icon of application iconLoaningApplication
notify with name theNotificationKind title theTitle application name growlAppName description theDescription
end tell
end notify
[/CODE]

hypotyposis 2010-07-28 07:35 AM

Thanks for the script, Curt! I have been hesitant to use flags at all, but this might change my mind!

atreinke 2010-07-28 02:46 PM

I'll second that, thanks for the script Curt. I use flags daily to set the tasks that I want to get done that day - which rarely seem to get done. Being able to clear them in one swoop makes it easy.


All times are GMT -8. The time now is 05:54 PM.

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