How to make SAS to open with the main window and the editor window automatically maximized?
Asked
Active
Viewed 981 times
2 Answers
3
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';"

John Leveille
- 334
- 1
- 4
-
I forgot to add you can also push commands to maximize the program editor. See the doc link and related commands. – John Leveille Sep 02 '13 at 20:22
1
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.

DomPazz
- 12,415
- 17
- 23
-
John beat me to the submit on this. If you combine our two answers you have what you need! – DomPazz Sep 02 '13 at 20:40