Mel to change active panel?

One of those things that seemed simple, then stumped me.

Obviously, you can RMB in a panel, and it becomes the "active panel". Any thoughts on how to do his in mel? I know that Maya's 4 main modelPanels are called:
modelPanel1
modelPanel2
modelPanel3
modelPanel4

and their parent is "viewPanes".

I've also dug up this command:
paneLayout -e -api 1 viewPanes;

This seems to "kind of" highlight the provided pane (in this case, modelPane1), but it still dosen't make it the "active panel". The pannel is highlighted, but it's a 1 pixel thick highlight, not the same as clicking in the window.

Any thoughts?

I think the setFocus command is what your looking for.

// set the active window to be the "top" view
setFocus modelPanel1 ;

--g

I,... I love you... Ok, just kidding, but I'm sure you're a nice person....

Thanks man, I knew it would be that easy. Just couldn't find the friggin command!