WordStar for Windows offers three different keystroke sets:
- Windows Standard commands
- WordStar for DOS commands
- WordStar 2000 for DOS commands
This article details how to add additional WordStar for DOS commands to those provided in the WordStar for DOS Keystroke set.
To add extra commands you need to create a macro program that gives the required function and then assign this macro to the required keyboard command.
Adding Additional CTRL+U and CTRL+Y Commands
Macro programs for CTRL+U and CTRL+Y commands which are not supported natively in WordStar for Windows have already been produced by Karl Fuss. These are both contained in a single LHA file that can be downloaded using the following link: CTRLUY.EXE - Self-extracting LHA file (4Kb).
Installing the Macro Files
- After downloading the CTRLUY.EXE file copy it into a temporary directory (folder) on your hard disk.
- Double-click on the CTRLUY.EXE file to expand the contents of the archive. You will be asked to confirm that you want to extract the files in the archive.
- Type Y, then press Return.
- This will extract the two WordStar for Windows Macro (.WMC) files into the same directory as the CTRLUY.EXE file. A text file with details of the macros will also be placed in the directory.
- Copy both the .WMC files into your WordStar for Windows macros directory - usually called C:\WSWIN\MACROS
Configuring the Extra Keyboard Commands
- Start WordStar for Windows.
- Select: Tools | Customize | Keystrokes
- Ensure the Keystroke Set you want to customise is selected in the dropdown list (this will probably be the WordStar keystroke set if you are adding these commands).
- Ensure that the List radio button is set to Macros.
- Click the Browse button to open the Select a Macro dialog.
- If necessary, change to the WordStar for Windows macros directory and select the file called CTRLU.WMC, then click OK. The Select a Macro dialog will close.
- Click the Add button to open the Add Keystroke dialog.
- Type CTRL+U. That is, type the WordStar command ^U. If you make a mistake, click the Clear button and try again.
- Click OK.
- Repeat the steps above for the CTRLY.WMC macro program, typing the ^Y in the Add keystroke dialog.
- Click the Close button on the Customize Keys dialog.