Do you really want to maximise or just restore a screen layout? Actual Window Manager can do this and there is a 50% discount at the moment on the DC specials page ... Just a thought ...
WindowPad AHK Script or gridemove as previously listed could also be useful?
Or Winsplit Revolution can be setup like gridemove with a custom grid ..
Not sure any exactly match what you are asking for ... but the AHK script might be useful.
Qwibbles