Hi @Zaitam, below this post you will find a detailed tutorial with KM macros:
I myself use KM in conjunction with functions of the BetterTouchTool app.
Here is the macro for working with the BTT AppleScript macro:
12)UUID AS <B85F 210307T221109>.kmmacros (25,2 KB)
These are the 2 KM macros you will start the Spaces workflow with:
@_Window Presets Macros <Multi 210307T214154>.kmmacros (5,1 KB)
This is the sub macro to "Switch Window to..."
BTT Spaces :Forum Macros <E688 210307T221019>.kmmacros (25,5 KB)
Lastly, the sub macro to move the apps to another Spaces:
BTT Window:App :Forum Macros <37D7 210307T221033>.kmmacros (25,5 KB)