Open application in specific space through AppleScript
If you lock an app to a space it will always open in that space, no script required. the limitation is that all windows of each app will be in the same space; no way round that except manually, afaik.

First open the app in the required Space, then right click the Dock icon &amp; select 'This Desktop'
After that, if you check from any other Space you will see the Space number listed.

[&amp; I do wish they'd stop calling them Desktops]



If you really need it to be scripted, then this MacScripter page has all the calls - http://macscripter.net/viewtopic.php?id=23453