Apologies for the late response. Busy at work this week ?
Yes, I have followed the Alfred instructions....
When I just opened the appscript instruction I saw an update available, which I applied.
When I now run the .as command I do see the Omnifocus scripts but don't see the DEVONthink ones... And I see the Omnifocus scripts even when OmniFocus isn't active...
So, I just don't know anymore....
When I run with debugger, the script considers Alfred as the frontmost app, while I have changed to working for example to Omnifocus.. Makes sense because I am switching to Alfred when I activate the script....