AppleScript to move a Omnifocus Task to a project

Hello there,

I looked all over the internet, but I could not find it.
I am looking for a AppleScript for Omnifocus to move the selected tasks to a Project.

I want to implement it via better touch tool in my Stream Deck to clean up my Inbox with the Stream Deck Buttons.

I already tried to work around it with keyboard maestro and the Omnifocus plugin collection.
In this case the Task disappears from the Inbox although I have set my preferences to clean up only Tasks, that have a Project AND a Tag assigned.

suggestions to other solutions are very welcome!
I could use some help here.
Tahnk you in advance.

Best regards