Spotlight Menu Keyboard Shortcut


So… I’m completely new to this, and I had a look around, but was unable to find the info that I needed, or just didn’t understand it.

Anyway, I would like an applescript application that toggles on/off the “Spotlight Menu Keyboard Shortcut” checkbox in the Spotlight System preferences panel, without having to open or close any windows.

It didn’t seem like it would be such a difficult thing to do, but I’m a bit overwhelmed with all the information on here, so I’d appreciate any help you can offer.