One needs the AutoIt script environment as a prerequesitary. Get it here.
Moving apps to a specific virtual desktop is not included in the scriptin language nor the bundled libraries. But others have implemented some lines to overcome this flaw. Sadly, I could not identify a ready to use script library. Therefor I refactored the code as good as I could, so that it comes as a library, that can be easily included in your own user script.
See the discussion in the support forum where I copied the code.