Quick Setting Render Globals

I've been using maya for a while but I kinda new to mel scripting so any insights would be helpful. What I want to do is have a one button on a shelf that will automatically set my render globals to certain predetermined settings. How would I go about doing this?.... Be specific please........ Also is there a MEL bible or something that help out in learning MEL and its usage.

in renderglobals save your preset rom the dropdown menu in the top. Then type this in your script editor:

source resolutionPreset_NameOfPreset.mel;

Or if you are lazy just load the preset from the render globals and see maya ecoing this then proceed to next step.

select and middlemouse drag to shelf...