Determining Current Space Number in Terminal?
Is there any way that I can determine the current space number of the space I am using in Mission Control via the command line in the Terminal.app? I want to do something like:
defaults read com.apple.whatever | grep currentSpaceNumber
Anyone know how to do this?
3GHz Mac Pro, Mac OS X (10.7.1)