Recording a command

Is there any way to record a command?

I need to change background frequently so I go through:

 Tools>>Options>>> Display>>Element Colors>>Model Background>>> Color

often. I can’t copy commands because there is nothing but _OPTIONS there.

How do I do this?

Please help.