View Single Post
Quote:
Originally Posted by curt.clifton View Post
That doesn't filter out folders.
It doesn't allow us to query directly on folder properties, but it does give us a flattened and folder-free list of all the projects in the database very easily and flexibly ...

I think it works quite well as a quick response to Fudster's original problem:

I've been having an awful time trying to obtain all the projects in my omnifocus document in Applescript.

Generally, it seems a good idea not to lose sight of OF's built-in querying when drafting scripts - any flat list that can be automatically queried into existence in the content panel can be readily harvested through applescript ...

(and of course, we can save and restore states if we want to avoid GUI side-effects ...)

--

Last edited by RobTrew; 2010-03-01 at 02:58 AM..