Alfred 2 & DEVONthink

Alfred workflows for DTPO are very limited.
I’d like to have this applescript work with Alfred. Can anybody help?