Macro to Turn on Shadows in Shaded Mode, RealView and Ambient Occlusion

I would like to create a macro that will save screen shots of a part or assembly and save it to specific location.  I want to have the view in trimetric, zoomed to fit, with "Shadows in Shaded Mode", "RealView Graphics" and "Ambient Occlusion" turned on. 

Trimetric view and zoom to fit aren't a problem for me to code.  My issue is I can't figure out how to turn the other three on if they aren't already.  I've tried recording the macro but nothing comes up when I activate those three.

SolidworksApi macros