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 > OmniOutliner > OmniOutliner 3 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Status Checkbox based formatting Thread Tools Search this Thread Display Modes
It would be nice if you could automate assign a style based on a value in a specific column (say the status box is checked). I use OO as a ToDo list among other things. Ultimately It would be nice if I could change the line to grey with a strike through (purely cosmetic) insert the current date or date/time into a column. This would allow me to keep much better track of when I did specific tasks.

If this is already possible 1) forgive me and 2) tell me how.

Thanks,
Michael
 
If you use kGTD, this is what happens when you Sync. Completed tasks are colored gray and struck-through, and a timestamp is added.
 
I looked at kGTD and it's definitely slick. I was wanting a way to do this without getting all of the extras that come in the kGTD scripts. My organizing strategy is a bit more "freeform" than GTD (thought largely based on GTD). I looked at the sync script and it seemed complicated to just extract that functionality (though I did look at it for about 15 seconds, so a more thorough examination might be called for). I was ideally looking for a way to do this without using a script, but a script would work. Maybe I'll have to write one.
 
I was sorely missing and strongly desiring this same feature. Any other ideas out there on how to implement? (Automatic strike through on clicking check box, with graying text would be cool but strike through first and foremost.) Would be greatly appreciated.
 
This completely doable with scripts but you need to run the script each time to update your file like kGTD. If you're looking for an automatic way that works at the same time as checking off the row, then that isn't possible. It's something we're looking to do in a future version though.
 
Michael, I was looking for the same capability. Here is a script that I wrote to do that. Derek was a HUGE help in getting this done.


tell application "OmniOutliner Professional"
tell front document
repeat with theRow in (every row whose state is checked)
-- change "done" to the name of your done column
set theDate to value of cell "Done" of theRow
if theDate is missing value then
if (value of cell "Due Date" of theRow is not missing value) then
set value of cell "Done" of theRow to "today"
-- change "due" to the name of the due column
set value of cell "Due Date" of theRow to missing value
remove every named style of style of theRow from named styles of style of theRow
set myStyle to named style ("DoneItem")
add myStyle to named styles of style of theRow
end if
end if
end repeat
set TodaysDate to current date
repeat with theRow in (every row whose state is unchecked)
set theDate to value of cell "Due Date" of theRow
if theDate is not missing value then
remove every named style of style of theRow from named styles of style of theRow
set myStyle to named style ("Overdue")
if theDate < TodaysDate then
add myStyle to named styles of style of theRow
else
remove myStyle from named styles of style of theRow
end if
else
-- missing value but unchecked (means I forgot to set a date)
remove every named style of style of theRow from named styles of style of theRow
set myStyle to named style ("Blankdue")
add myStyle to named styles of style of theRow
end if
end repeat
end tell
beep 3
end tell
 
I really miss conditional formatting at least for Pop-Up List and Checkbox type fields. I often use Numbers now because of this.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
formatting of text disappears [A: OPML spec doesn't include text formatting.] jojoba OmniOutliner 3 for Mac 4 2013-03-20 10:11 AM
Location Reminders - task-based rather than Context-based? dmcomeau OmniFocus for iPhone 17 2012-02-14 06:10 AM
Month-Based Planning with Undetermined Start Date: Formatting and Effort Calculation DavidS OmniPlan General 0 2011-01-02 07:35 AM
Script for formatting size based on incoming lines muntzing OmniGraffle General 7 2010-10-14 06:28 AM
Styles based on Status Checkbox ian.munday OmniOutliner 3 for Mac 0 2010-01-07 06:19 AM


All times are GMT -8. The time now is 10:23 PM.


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