[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Loading files at startup in III+



In a message dated 97-12-29 21:22:21 EST, you write:

≪ not
 > only a DOS command line instruction to load a
 > particular file but also a set of XyW command line
 > instructions to load *other* files in other XyW
 > windows. ≫

Years ago, I wrote a pair of utilities for III+ called Snapshot / Album that
saved information about the open files from the current session and then
restored them when you restarted XyWrite. Sessions could be saved as specific,
named collections and recalled by name. I later incorporated the
functionality into Xy4 when I was hired by Xyquest. Would that do it for you?
(I'm not sure I still have the code; it was pretty complicated. Anyone out
there have it?) Easiest fix would be to upgrade to Xy4, if this is exactly the
funcionality you need and the other features of Xy4 are not bothersome to you.

If you always load the same files, or a couple different sets of files, you
could put a branching routine directly into STARTUP.INT, with a prompt on the
prompt line and a key-capture loop using ≪sx99,≪RC≫≫ to go to a particular
set of files based on a single keystroke -- or no files, if you want to start
Xy "naked."

In fact, STARTUP.INT could involve all sorts of branching routines and
conditonals--even run variations of itself based on a menu or prompt-line
choice.

Another idea, totally brute force: Xy3 is very small. If you ordinarily run
just a couple versions of STARTUP.INT, just copy the EDITOR.EXE into different
subdirectories, each with its own STARTUP.INT, and give the icons different
names. I believe that Xy3 looks only in its current directory for STARTUP.INT.
If you use spelling/thesaurus, you may have to copy their files, too. But the
whole setup shouldn't take more than a meg or so. On a modern W95 machine,
that's chicken feed.

Good luck.

Tim Baehr
tbaehr@xxxxxxxx