Open serial monitor with code instead of button

Is there any way to open the serial monitor window with a code statement instead of clicking the IDE button?

Code running on the arduino?
No.

There has been talk about a feature that compiles->uploads->starts serial monitor but I don't know whats the state of that.

You might look at autoit.