tell application "System Events"
keystroke "1" using control down
end tell
Change the Number "1" to any number between "1" the Maximum Number of Spaces to switch to them.]
You also cannot control Spaces directly with AppleScript, so System Events all the way
allbrokeup.