Quote:
Originally Posted by Ken Case
Projects are now considered stalled when they are active but have no remaining actions.
Contexts are no longer considered stalled when they contain an actionable project or group.
|
I like the clarity and simplicity of these updated definitions.
If I have properly understood, this leaves us with something like:
projects where (number of tasks is number of completed tasks) and (status is active) and ((hidden of its folder is false) or (its folder is missing value)) and (singleton action holder is false)
and
contexts where (available task count is 0) and (allows next action is true) and (hidden is false)
A PS:
The only remaining glitch (or obstacle to simple translation between filter drop-down settings and search language clauses) is that while nested contexts and nested folders inherit their hidden/dropped status from their enclosing ancestors in the graphic user interface, they do not currently inherit their corresponding .hidden property in the applescript library.
In other words the following will currently list as
not dropped/hidden any child contexts and parents which are in fact dropped because their enclosing parent folders/contexts are dropped.
Code:
-- Currently reports hidden contexts and folders as not hidden
-- (if their hidden status is inherited from enclosing ancestors)
tell application "OmniFocus"
-- OF 1.8 only
tell front document
set lstContextNames to name of flattened contexts where hidden is false
set lstFolderNames to name of flattened folders where hidden is false
end tell
end tell
(I have reported this as an issue/bug)
--