Thanks, I did everything you suggested, but it still does not work for me (Alfred 3.2.1, El Capitan 10.11.6).
I get the following message in debug mode, which seems to be odd:
[2016-12-30 09:58:38][trigger.action] Processing output of 'action.script' with arg '(
[2016-12-30 09:58:38][ERROR: action.script] 0:169: execution error: Dieses Skript scheint kein AppleScript-Skript zu sein. (-1752)
The error-message translated to English means "Script doesn’t seem to belong to AppleScript."
Apart from changing things suggested, I did not change anything.
Does anyone has an idea? Thanks ...