Opening/closing an application in a different desktop space using mission control (only 1 laptop monitor)

Is this possible, maybe with applescript? For example I'm on space 1, and want to open something in space 2, without leaving space 1 to go to space 2, Ideally I want to control multiple app combinations/their window layouts from my main space and move between them quickly.

Hotkeys can be set in the Keyboard preferences in the pane "Shortcuts". After you set the hotkeys, and
if you know you're on space 1, go to space 2 using the appropriate hotkey to get there, open the document, then go back to space 1 using the appropriate hotkey.

1 Like