I would like to be able to turn Wi-Fi on and off with a shortcut (Control-W or something like that).

I have tried to enable this on the Shortcuts part of the Keyboard Preferences, but with no luck.

App Shortcuts / All Applications / Turn Wi-Fi On - does not work.

Is there a way to do this?