[comp.windows.ms] Automatically invoking a recorder macro at startup

HBX@psuvm.psu.edu (Terry Harrison 336 Beam BAB 3-3357) (07/03/90)

i like my windows 3.0 session to always have the clock displayed at the
lower right hand corner, file manager loaded and displayed as an icon in the
lower left, etc.  is there a way to have this happen automatically when windows
loads?


Terry Harrison
Management Science Department
Penn State University
BITNET:   hbx@psuvm
UUCP:     ...!psuvax1!psuvm.bitnet!hbx
INTERNET: hbx at psuvm.psu.edu

whkr@ciba-geigy.ch (Hans Kraft) (07/04/90)

There seems to be no direct way to get the windows on the screen
with a predefined postion or size every time windows is started,
so you must write a program, that enumerates all windows, gets
the size and position values e.g. from win.ini using GetProfileInt,
and makes a MoveWindow on each appropriate window.
Please email me if you are interested in an example source.

Hans Kraft (Giovanni Forza)

tonyb@olivej.olivetti.com (Anthony M. Brich) (07/11/90)

In article <90184.081418HBX@psuvm.psu.edu> HBX@psuvm.psu.edu (Terry Harrison 336 Beam BAB 3-3357) writes:
>i like my windows 3.0 session to always have the clock displayed at the
>lower right hand corner, file manager loaded and displayed as an icon in the
>lower left, etc.  is there a way to have this happen automatically when windows
>loads?

	
	Just in case no one has responded to you yet:

	Simply use SYSEDIT.EXE (in your Windows System subdirectory,
	if it isn't in one of your program groups) to edit your
	WIN.INI file.  In the "load=" section, type the names of each
	program to be loaded at start-up:  CLOCK.EXE, WINFILE.EXE,
	etc.  (Of course, you can use any text editor to edit WIN.INI,
	too.  SYSEDIT's just convenient if it's around, or if you want
	to edit more than one of your "system" files, i.e.,
	AUTOEXEC.BAT, CONFIG.SYS, WINSYS.INI, WIN.INI).

	Regards,
	Tony Brich