Hey Nicholas,
Keyboard Maestro doesn't directly support spaces, because Apple in their infinite wisdom doesn't have a public API for it...
Nevertheless some folks continue to find workarounds. See this:
Desktop Spaces • Macros for Navigation and Window Management
It's not exactly what you're looking for, but it may be useful and/or give you some ideas.
-Chris