Feature request: Set Variable: current space

I would like to be able to store the current space number in a variable, and then navigate to that space via the variable at a later time.

Is this possible now, or is that something you would consider adding to KM?

This is interesting, and useful, but Apple let’s you change the indexes based on where you set the main menu bar location.

This calculation returns ‘0’ for the main screen, I think. It’s a bit of a kludge, but I think it might be useful.


Apple have not (to my knowledge) released any public API for controlling or examining Spaces. So currently Keyboard Maestro has no direct support for Spaces. If Apple decides to make an API public, I will do my best to implement the appropriate actions/functions.