Question

How to make SAS to open with the main window and the editor window automatically maximized?

Was it helpful?

Solution

One way to do this is to push the command AWSMAXIMIZE at startup. You could place this statement in your autoexec.sas

dm "awsmaximize";

I was also able to do this by editing the start menu entry and adding to the end of the SAS command: -initstmt "dm 'awsmaximize';"

More here: http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/viewer.htm#a000115355.htm#win-af-wincmds

OTHER TIPS

Not sure if you can do this automatically at startup, but you can set a hotkey to do it.

Tools -> Options -> Keys

Choose a key and type this into the command:

AWSMAXIMIZE ON; WPGM; ZOOM
  1. "AWSMAXIMIZE ON" is the SAS for Windows command to maximize itself.
  2. "WPGM" is the command to bring focus to the Enhanced Program Manager
  3. "ZOOM" is the command to maximize the in-focus window.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top