Monday, November 5, 2007

Toggling Spaces on/off instantly

Instead of clicking 4+ times to get to the preferences panel and toggle Spaces, you can simply use this AppleScript:

tell application "System Events" to tell spaces preferences of expose preferences to set spaces enabled to (not spaces enabled)

As usual, I hook it up to a keyboard shortcut using iKey.

No comments: