Troubles setting up a nvALT/hazel/OmniFocus workflow

I'm trying to use a nvALT/Hazel/OmniFocus workflow as suggested here: viewtopic.php?f=3&t=3398 (only the part "Extracting omnifocus tasks).
The first part (finding todos in my nvALT-notes-folder) works perfectly, as I can see in preview.
Then I get a apple-script error message. NO todos are imported to OmniFocus, and the shell-script does not change anything in my text-files.
I am not at all an apple-script expert, so is there anybody who can tell me why the apple-script fails?
The first part (finding todos in my nvALT-notes-folder) works perfectly, as I can see in preview.
Then I get a apple-script error message. NO todos are imported to OmniFocus, and the shell-script does not change anything in my text-files.
I am not at all an apple-script expert, so is there anybody who can tell me why the apple-script fails?