How to make SAS to open with the main window and the editor window automatically maximized?
How to make SAS to open with maximized window?
1k views Asked by Bogdan Lataianu At
2
There are 2 answers
1
On
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
- "AWSMAXIMIZE ON" is the SAS for Windows command to maximize itself.
- "WPGM" is the command to bring focus to the Enhanced Program Manager
- "ZOOM" is the command to maximize the in-focus window.
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