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)
-   -   'Completed' project - GUI vs. Applescript (http://forums.omnigroup.com/showthread.php?t=3936)

RobTrew 2007-06-23 12:09 PM

'Completed' project - GUI vs. Applescript
 
In the GUI, if I Ctrl-Click a project and select 'Completed', the project icon displays a green tick, and the project actions are not set to 'Done'.

If, however, in Applescript I set the Completed property of a project to True, as in:

set completed of SomeProject to true

the effects are different. The project icon acquires no green tick, but all of the actions under the project, to the nth degree of nesting, are set to 'Done'.

I think I prefer the GUI effect. It is by design that the Applescript effects of setting completed to True are different ?

Tim Wood 2007-06-25 08:38 PM

Nope; this is a bug. The GUI setting you see is changing the 'status' of the project (an enumeration of something like 'done', 'dropped', 'active' and 'on hold'). The problem right now is that our AppleScript support (for better or worse) exposes an implementation detail in that much of the project state is stored as a root task. So, since project needs more state than done or not, we have a bit of duplication that we need to address reasonably in the model.


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

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