Shortcut for Display States

Is there any way to use a keyboard shortcut to switch display states (or just one that cycles through them)? If not, can the SolidWorks API be used to create this functionality (in other words, should I start looking down this avenue?)?

Cheers,

Matt

SolidworksAssemblies