How do I script the OF database? is there a published object model, or do i have to reverse engineer this myself?
Asked by bellaccione
To my knowledge there is no documented object model for OmniFocus’ database. I understand it is accessible with SQL queries and if you take a look at some of Rob Trew’s scripts on the OmniFocus forums, you will find some hints how to interact with it. Rob is the only one I have seen so far directly accessing OmniFocus’ database in his scripts.
However, as a word of caution, it is clearly not designed for 3rd party interaction (otherwise there would be an API), and you may get yourself and your data into trouble. Make a backup before hacking away.