Custom shortcut

 From:  Samuel Zeller

I need a shortcut that does multiple things in this order

1. Hide the grid (including the axis)
2. Change the background color to #FFF
3. Capture the active view to file (I already have an Alt+S shortcut to do that)
4. Put back the original background color and show the grid

I currently use Alt+S to save the view to a PNG file but it also screenshot the grid
I use the grid + the default background color for modelling, but I want to take screenshots on white background without always going into the options everytime I need to take a screenshot :)

It would be even more awesome to have the screenshot directly copied in the clipboard so I can paste it into photoshop.

Thanks for the help in advance