What's New Fenimore's Macro Suite ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Modified: ALT -, A, B, C, D, F, H, L, N, P, X; CTRL A, D, L, M, S, PgDn; Shift Dark Right/Left Arrow, CTRL Dark Right Arrow CHANGED: ALT, CTRL, Shift Dark right/left arrow keys (See Below) FORMERLY NOW ------------------------------------------------------------ ALT Dark Right/Left BECAME CTRL Dark Right/Left CTRL Dark Right/Left BECAME Shift Dark Right/Left Shift Dark Right/Left BECAME ALT Dark Right/Left The macros were moved to make them more compliant with the default WordPerfect keyboards, especially with respect to the action of the CTRL Right/Left arrow keys. Now, the CTRL Dark right/left keys go to the end of the next/previous word while the CTRL White right/left keys move to the beginning of the next/previous word. CTRL DARK Right/Left Arrows Moves to the end of the next/previous word ALT DARK Right/Left Arrows Moves to the next/previous word unless in a column or table whereupon the cursor moves to the next/previous column or table cell Shift Dark Right/Left Arrows Moves to the beginning of the next/previous sentence ---------------------------------------------------------------- ALT A 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. (Version 3.7e) ALT B 16 Sep1 When copying or moving a block of text you might have occasion to hit the cancel key before the copy/move operation is complete. This would leave a status prompt at the bottom of the screen no matter what you did. This was fixed. Now, the operation is a four-step operation. You block the text you want to copy/move, chose the copy or move option, move the cursor to where you want (even if you don't move the cursor we'll assume you did...), and hit the enter key. This brings up an additional menu. Now, chose to drop the blocked region by hitting the ENTER key or stop the copy/move operation by hitting the cancel key (or, alternatively, the exit key). If you had chosen to move text you won't have it any longer if you cancel/exit the operation. You'll have to retrieve it at the location you desired by doing a block retrieve (ALT-B R or CTRL F4 R(etrieve) B(lock) or CTRL F4 4 1). (Version 3.32) 21 Sep1 Printing of any block is now allowed new. This includes a character, word, or sentence (previously disallowed). This macro allows printing a block at it's current location. WordPerfect will get the line correct but if you printed the blocked region which exists in the middle of a paragraph, it'll print beginning at the left margin. This macro has it start printing at the line posigion reported by WordPerfect. NOTE (important): WordPerfect does microjustification. Therefore, if you use other than left justification in your documents the true location on the page may not accurately reported (for some reason) by WordPerfect. Also, the blocked region will have it's own micro- justification independent of the text surrounding it so, a sentence in the middle of the paragraph may print differently from what you might expect (less tight kerning for instance). With this in mind, happy printing! The macro also identifies what type of block you are printing (character, word, etc). (Version 3.33) 22 Sep1 The two methods I've used to test for end/begin of document don't always work correctly between different interim releases of WP. This might evidence itself by a tilde (~) appearing in your document. For blocking of sentences at the end of a document I started seeing this with interim release 5/31/91 so I rewrote the sentence blocking section to avoid this problem. If no sentence is recognized an error message is generated before returning to menu 1. This is possible if there is nothing to block or you are at the bottom of the document and formatting codes exist after the last sentence but before the end of the document. I also reworked all four menus slightly. These menus are now one line higher than they were. Menu 3 is now wrapped onto the lowest line instead of going to the end of first line. In multiple mode the only line which gets rewritten now is the lowest line. This line indentifies those enhancements being added to the document. This is especially beneficial to those with slower systems since the entire menu needn't be rewritten now. If you attempt to go to menu 4 without first blocking something the error message is displayed in the lowest line. An entire screen refresh is no longer done between menus as was a previous practice. Previously during an index, if you made an index entry for the primary index but didn't want a subindex you got one anyway. This is fixed. Now, to accept a subindex you either hit the "=" key (and hit enter to accept the default subindex) or type in another subindex. Hitting the enter key without an entry will default to NO subindex. (Version 3.34) 23 Sep1 Fixed a problem with a sentence being blocked such that the blocking would end with the cursor on one or more lines below the block start but at the left margin. This would cause a "No Sentence Found" error (which was bogus). (Version 3.34a) 23 Sep1 Abbreviated the menus to allow quicker screen writing on slower machines. Improved menu 3 to write only the necessary changes when going between the Multiple and non-multiple modes. This substantially improves the speed at which the menu modes switches. (Version 3.34b) 23 Sep1 Menu 4 now includes options to go directly to Menus 1, 2 or 3. Hitting enter in any of the menus takes you to the previous menu level. One minor difference is that if menu 4 was called from menu 2, hitting the enter key in menu 4 will return you to menu 2. Returning to menu 1 from any of the other menus will still turn off the active blocking but will also return the cursor to the beginning of that block rather than leaving it at the end of the block as was the case. (Version 3.34c) 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. (Version 3.34d) 13 Oct1 A minor bug caused menu 3 to display when a sentence was blocked. However, menu 2's options were active (not menu 3's). This no longer occurs. Another fix involved words which contained soft hyphens (the one you get directly from the keyboard). WordPerfect would have now problem blocking the entire word containing hyphens. However, the macro would block a word up to the hphen. This was fixed to perform similarly to the way WordPerfect's word block performs. (Version 3.34e) ALT C 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. (Version 2.60a) ALT D 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. (Version 3.70o) 2 Oct1 If an error occurs the WordPerfect is reset to used the default document directory to be on the save side of things. (Version 3.70p) ALT F 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. (Version 3.35a) 29 Sep1 Substantially enhanced. Macro now retrieves one or more files depending on the information stored in the data file. Senses status of files currently loaded and adjusts the menu accordingly. For instance, if information on two files is stored in the data file and one file is already being edited then you may retrieve one one files indicated and not both. Macro added the option of NOSAVE to the menu line. Normally this option isn't needed. However, it might be needed when this macro is called by the EXIT macro (ALT X). (Version 3.4) 29 Sep1 It used to be that you had to provide a name for files without names. This has changed. The user is now asked if he/she wants to provide a name. If the answer is yes the macro proceeds as usual. If the answer is no then the macro is exited. This is not normally an issue unless the EXIT Macro (ALT X) has called this macro. (version 3.40a) 30 Sep1 A bug in the program wouldn't allow the retrieve menu to display under some conditions. This was fixed. The macro was also modified so that when called by the EXIT macro (ALT X) with a blank file the user may exit the macro (by using the cancel key and thereby the exit operation), provide the file with a name, or exit the file. Prior to this an exit from an unnamed file using the ALT X macro wasn't directly possible. (Version 3.40b) 1 Oct1 Fixed a problem which occurred when making a choice not provided - the macro would end up exiting after a short while. Made some changes to allow proper operation of the EXIT macro (ALT X) when the ALL and both document options called this macro and the file had no name. What happens is that a return code is returned based upon an option made in this macro. Part of this change was the modififcation of the menu used for unnamed files to include a CANCEL option. (Version 3.41) 4 Oct1 Macro was doing a name check of the file being saved via a system call rather than a variable call. This was providing improper results at times. (Version 3.41b) 6 Oct1 Gave a more flexible rename capability. When a file is given a name a path may be specified with it or not. Once the name is suppled the main menu is returned to. From here, you may store it on any drive or subdirectory listed with a simple keystroke. For drives, the name you supplied is used along with the drive specified. For subdirectories, these take direct control and store immediately to that subdirectory. If you've renamed a file and you've specified the root directory and you want to store that file to a subdirectory, forget it with this version unless you store the file first. This will be fixed in a future version. The Rename menu for use with long document names has been slightly modified to be less confusing and more direct. (Version 3.51) 7 Oct1 Improved auto-recall error handling. If one or the other file doesn't exist the one which does exist is retrieved into document #1 and the user left in document #1. If neither exist nothing is retrieved! (Version 3.51a) 7 Oct1 Fixed the root directory problem identified by the 6th of Oct change. Choosing a root directory as part of the name of a file is no longer a problem. Now, the new name is parsed and separated from the path regardless of length. (Version 3.51b) 13 Oct1 Changed the routine which gives/changes filenames to a callable routine. Other parts of the macro which merely went to this routine for its procedures were changed to reflect that change. (Version 3.52) ALT H 8 Sep1 Added information on the character over character macro. Rearranged the menus to reflect to the changes to the ALT/CTRL/Shift Dark Arrow key macros. ALT L 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. (Version 2.00c) ALT N 17 Sep1 Changed the macro to allow use within comment windows where only COMPOSE (and not the ctrl-V version of compose, aka ctrl-2) will work to create special characters. Unfortunately, once the screen is cleared of the new characters menu the cursor is reset to the beginning of the comment. (Version 2.91) 21 Sep1 Added a new category: Technical. Added several characters too. Angstrom was placed in technical and degree was moved there. The square root sign and hi-bar were added to Math. These two together make a decent looking square root sign. (Version 2.92) 23 Sep1 Sometimes, the macro wouldn't accept the first character. A guess is that the bad option flag was set when the macro was run resulting in a bogus error indication. This flag is now reset upon running the macro. Hopefully this fixes the problem. (Version 2.92a) ALT P 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. (Version 2.41a) 2 Oct1 Made a message change to the menu for allowing the printing of odd or even pages from a range of user supplied page numbers. Also, provided an extension to the "print from current page to end" and the "print from start to current page" so that only odd or even pages are printed. The user only selects "e" or "o" with a "+" or "-" to do so. At this time the options "oe", "eo", "+-" and "-+" will print ALL pages (it's equivalent to Print Entire Document). (Version 2.50) 2 Oct1 If an error occurs WordPerfect is reset to use the default document directory (to be on the safe side of things). (Version 3.70p) ALT X 16 Sep1 Modified to determine if timed backup was performed on a modified document. Now, Exit will work correctly in the presence of timed backup so that modifications won't be lost. Additionally, the method used to determine the modification status of a document has been changed as well. Testing is now performed at a bit level (AND) rather than with a MODULO. Results are the same. The change to the bit level testing was performed because this was the only way to test for timed backup. One benefit is that it is slightly more accurate than the previous method. (Version 2.13) 21 Sep1 If you aren't in the main editing screen, hitting ALT X will exit to it. For instance, if you're in page preview and ALT X is hit you'll be returned directly to the document. (Version 2.13a) 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. (Version 2.13b) 29 Sep1 Major Revision. Macro now stores information on both documents so one or the other may be retrieved by the FILE macro (ALT F). Information is obtained on only non-empty files. Information on all available files is displayed to the user to rename or accept before an actual file save is completed. During a file rename the user may give the file a new name to store the file by or tell the macro not to save the file. Accept will save the files, store the file information (path, name, cursor position), and exit WordPerfect. The data file stored is different than previous versions. A macro (Convert.wpm )has been provided to convert from the old to the new structure. (Version 3.00) 30 Sep1 Exit from ALL documents is now provided. This procedure is functionally the save as the WordPerfect exit except that the user remains in WordPerfect after all documents have been exited. Also, through changes to the FILE macro (ALT F) the current unnamed document may be exited under control of the macro. Prior to this such an action wasn't directly possible. (Version 3.00a) 1 Oct1 Fixed a problem in which an improper call to the FILE macro (ALT F) macro was made. This problem wouldn't allow proper macro execution. Fixed some minor problems with making choices which weren't on the menu. Fixed a problem with the option ALL. When there were files with no names both files might or might not be exited. Either that or there'd be an error of some sort. Modifications to the FILE macro (ALT F) and this macro together now allow proper operation on unnamed files so that the files aren't arbitrarily exited when the options ALL, document and DOCUMENT are chosen. (Version 3.01) 4 Oct1 Disabled the ability to give blank files names during a file exit rename. Gave direct access to available files (modified or unmodified) for renaming (a shortcut to the renaming a file). The saving of a renamed file didn't work correctly in the previous version but has been fixed in this one. If a file has been given a new name it is saved under that new name (whether or not the original was modified) along with the appropriate cursor location information. Note: in this version it is important for the user to supply the file's full path as part of its new name. This is particularly important for later automatic retrieval of the file. If you use C: instead of C:\, for instance, the macro will look in the current directory instead of the root directory. If the current directory is not the root directory the file won't be found... Also, disabled the use of the ENTER key at the RENAME ACCEPT menu. The user is now forced to respond appropriately (it was nice to respond with the ENTER key but it easily caused problems) (Version 3.02) 6 Oct1 This change provides checking for paths in filenames provided during WordPerfect exits. This rename facility is performed at the exit menu. Now, if you give a file a name the macro will check the supplied name for a path. If no path is provided in this new name it is given the default path. If a path is provided it is separated from the filename (nothing more than a programmatic issue really). If the root directory is specified, the root directory of the default drive is used (this is currently defined by the macro as the root directory of drive C). On blank files, WordPerfect has no method for determining a default drive. However, it will use the default document directory for document storage. Unfortunately, there's no direct way to get to that directory specification without first saving a file (without specifying a path during the save). This isn't sufficient for file autoretrieve, however. Therefore, the default drive is specifically identified. New names are now correctly identified, along with path names, during a WordPerfect exit for inclusion in the retrieve file data file. Prior to this, the user supplied names weren't checked. If you supplied no name, the file was stored on a default drive (whatever it was). If you supplied a root directory, the root drive of whatever drive was used. However, in this case, no drive name was supplied. This made it difficult to autoretrieve some files. (Version 3.10) 7 Oct1 Fixed a problem with exit ALL option. When chosen, all files are now exited correctly. The only difference between the exit ALL and the exit WordPerfect options is that the ALL option does not store file information on the files exited and leaves the user in WordPerfect, document #1. (Version 3.52a) 13 Oct1 If a user was exiting WordPerfect and accepted a file which was modified but which had no name ALTF would catch it but the filename wouldn't get recorded in the autoretrieve information file. This problem was fixed. (Version 3.11) ALT - 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. (Version 3.10g) CTRL A 18 Sep1 Reworked the menu to be less ambiguous. New menu tells user to hit the ENTER key to save the file under the default name or to use cancel to stop the save. The RENAME option has now been moved to the main menu to allow the user to rename the default ASCII file easier. Previous to this the only way to rename the file was if the same named file already existed. (Version 1.2a) 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. Removed the message concerning the enter and cancel keys. (Version 1.2c) 5 Oct1 Added the ability to save as a generic wordprocessing file (with tabs) or as simple ASCII text (no tabs). Note: indents are converted to tabs in the generic save. (Version 1.2d) CTRL D 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. (Version 3.00b) CTRL L (Letter Head) 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. If the macro is run on a non-empty document the cursor is moved to the end of the current document before any memorandum information is entered. (Version 2.7) CTRL M (Memorandum) 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. If the macro is run on a non-empty document the cursor is moved to the end of the current document before any memorandum information is entered. (Version 2.7) CTRL S 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. (Version 1.30a) CTRL PgDn (Retrieve Memory Variable) 23 Sep1 Modified main menu. Shortened horizontal line in consideration for slower machines. (Version 3.7e) 6 Oct1 Changed the variable used to grab memory variables to a less commonly used one. This is normally not a problem but is in certain situations. (Version 1.0e) CTRL Dark Right Arrow 11 Sep1 Completely rewritten. Previous version had troubles with some types of formatting or enhancement codes embedded within a word. This version removes most, if not all, of those problems. Previous version would ALWAYS move through a word beginning with the first character of that word. This version goes to the end of the word starting from the current cursor location. (Version 3.0) 12 Sep1 Improved formatting code sensing to include hard spaces, tabs, page breaks, etc. (Version 3.01) Shift Dark Right Arrow 7 Sep1 Originally CTRL Dark Right Arrow. Added code to sense the shift key pressed. If the shift key is pressed the cursor will move to the beginning of the next sentence. If not it moves to the next character. (Version 2.03) 12 Sep1 There was a problem with this key not working while in a short directory listing. This was fixed and now works normally. (Version 2.03a) Shift Dark Left Arrow 7 Sep1 Originally CTRL Dark Left Arrow. Added code to sense a pressed shift key. If pressed the cursor will move to the start of the previous sentence. If not, it moves to the previous character. (Version 2.01) 12 Sep1 There was a problem with this key not working while in a short directory listing. This was fixed and now works normally. (Version 2.01a)