I install these four scripts onto the OmniFocus toolbar, where they enable me to:
keep the verbs in OmniFocus,
and the related nouns in DEVONthink 2,
linking them together.
Verbs: actions and their outcome descriptions.
Nouns: related files of various kinds, including detailed project notes.
(I don’t use attachments or notes in OF, all of that kind of thing goes into the matching DT folder, where I find it more fluidly accessible and more deeply searchable).

One of the scripts simply opens the matching DT2 project folder, (creating it if necessary) so that I can find the files I need, or drag some new files into it.
As I work through any (slightly more complex) project, I edit and refashion a running outline of it, to maintain a rich hierarchical view (richer than the view in working memory, that is) of where I am and where I’m going. I maintain my running project outline notes in an Omnioutliner file in the corresponding DT2 folder.

One of the scripts simply fetches this file (opening it in OmniOutliner, and creating it in the appropriate DT2 folder if it doesn’t already exist).
(Outlining is possible in OmniFocus (tasks and sub-tasks) but not particularly snappy, partly because of the good and solid database system that underlies OF, and partly because the default indent/outdent keystroke assignments are not the tab / shift-tab ones which my hindbrain habitually associates with outlining.)


The remaining two scripts, which send material from OF to DT, I simply use to archive things into DT, where they become quite powerfully searchable. Both scripts preserve the various fields of each OF record, one using OmniOutliner columns, and the other using TaskPaper text tags.