Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SAS editor window position

Tags:

layout

sas

This is not quite a programming question, but SAS programmers might still know an answer: It is possible to make SAS save the settings after shutdown, so the window arrangement will be the same after a restart. We have SAS running on a Server but this feature still works.

SAS 9.3 TS Level 1M2 ("Base SAS")

X64_S08R2Windows NT Server-Version

Windows-Version 6.1.7601

After starting SAS there appears an "editor" window at the position where it was before the last SAS-shutdown.

Now the problem is that when opening a second empty editor window (or when I open another SAS program via the SAS menu) this new editor window does NOT appear at the position where I want it to appear -- i.e. at the same place where the first editor window has been aligned to.

Any ideas much appreciated!

like image 845
Joz Avatar asked Feb 06 '15 13:02

Joz


People also ask

What is Editor window in SAS?

The Editor Window is where you type in your SAS programs. It allows you to perform standard editing tasks, such as entering, editing and submitting programs. In the Editor window, you can also open previously saved SAS programs, as well as save new SAS programs.

Which of the following is a window in the SAS programming environment?

There are five basic SAS windows: the Results and Explorer windows, and three programming windows: Editor, Log, and Output.


1 Answers

I'm not sure if more recent versions of SAS improved on this regard, but in any case, here are a few workarounds:

  • Use the tilev (SHIFT-F4) and tileh (SHIFT-F3) commands when appropriate. You can minimize unwanted windows and repeat to have only, say, your editor and your log tiled.

  • Assign wdef commands to keys (F9) for predefined window positions/sizes. For example, I use these (which are ok on a wide screen with docked explorer on -- tweak the values to your needs):

    F4: wdef 1 1 100 113
    F5: wdef 1 114 100 120

When I open an existing program (or create a new one), I just press F4 so that the wpgm (editor window) uses roughly 2 thirds of the avaiable space. Then if needed, I activate the log and press F5. The editor and the log are now side-by-side as I want them.

like image 122
Dominic Comtois Avatar answered Sep 28 '22 11:09

Dominic Comtois