What's New Fenimore's Macro Suite ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Modified: ALT B, C, F, H, X; ALTKEY, DP, FN, Enh Right/Left Arrow ALT Enh Right/Left Arrows NEW: ALTE, ADDR2ENV, BARCODE, TABLE, CTRL Enh Up/Dn Arrow The following are the most recent changes: ALTB 28 Mar2 If you wanted to put true quotes around a number (0 - 9) the macro wouldn't let you do it unless you first blocked that number. Single numbers are no longer treated differently. This was a bug fix! (Version 3.5b) 5 Apr2 Whenever I wanted to copy just code, the macro, as written wouldn't allow it. To detect whether blocking was on but with nothing blocked I copied the blocked region to a memory variable. I discovered the WP 5.1 only copies text to a variable and not formatting code. As a result the macro would report that nothing had been blocked when indeed it had! I rewrote the associated routine to get around this þbugþ. Now, it's up to you if you want to attempt to copy nothing (blocking on, but nothing in the blocked region). (Version 3.5c) ALTC 25 Mar2 Detects whether the cursor is within a table and refuses to work if so. (Version 2.60b) ALTE 21 Mar2 This macro is a menu shell for ADDR2ENV and BARCODE. This shell allows you to move your address and create the zipcode barcode in one operation. In this version, if you move the address to an envelope page (see ADDR2ENV description) the barcode will be automatically searched for and entered into the mailing address. (Version 1.0) 23 Mar2 Minor modification made to clean up screen after BARCODE has executed. (Version 1.00a) 24 Mar2 If an envelope page was created (by copying the mailing address) then BARCODE executes automatically. However, now at the conclusion of BARCODE, ALTE terminates as well. (Version 1.00b) 31 Mar2 Discovered that some zipcodes were more susceptible than others to being incorrectly completed. Traced the problem to routines within a FOR loop which called operations outside of it. Rewrote to correct the þproblem.þ Added a routine which now shows the barcode being built (so to speak) to indicate progress with respect to the original zipcode. (Version 1.20) 31 Mar2 Added an option to move an address to an envelope page without creating the zipcode barcode. (Version 1.10) ALTF 28 Mar2 During a Multiple Save, files which have been named but not saved would default to the WP document subdirectory at the end of the save(s). This is no longer true. Now, the first option chosen in a multiple save becomes the "parent" path. So, if a file, MY_FILE.DOC, has just been given a name, the Multiple Save option is entered, and the user provides the destinations "AB5", the file is saved to the Wordperfect subdirectory (e.g., C:\WP51\MY_FILE.DOC), then drive B (e.g., B:MY_FILE.DOC), and finally to drive A. This becomes the full name of the file: A:MY_FILE.DOC. This path specification also appears in the lower left corner of the screen at the conclusion of the macro. If the user only one option in a multiple save, in this case, it's essentially the same as chosing that same option had multiple save not been entered. (Version 4.10) 3 Apr2 During a file save if you answer þNoþ to whether or not to overwrite a file with the same name as you're trying to save you're sent back to the file rename menu. In this case you're s'posed to re-enter the long document name, if you're using one, from scratch. In this update the long document name you just entered is displayed below the long document name prompt. Hitting the ENTER key will use the long document name you'd previously entered. Also, during a subsequent rename operation if the file with the name you're trying to save existed it'd be overwritten without informing you of that fact. This has been fixed (it should always check, in cases such as this, to see if the doucument exists before saving the file to disk). During this subsequent rename operation you're now presented with the name you just entered so you can edit it. During an AutoRetrieve, if the AutoRetrieve file isn't found the error message would print a garbage on the last line. This has been corrected. (Version 4.11) ALTH 12 Apr2 Updated version number to indicate addition of TABLE and Envelope to ALTKEY menu of help macro. (Version 2.11b) ALTP 8 Apr2 The text of the þMultiple Pagesþ menu was intermixed with the text of the document, making the menu hard to read. This was fixed. (Version 2.50b) ALTX 5 Apr2 There's still an intermittent bug which deletes a record when it shouldn't. I haven't tracked it down completely since it doesn't happen often. I added a routine which, during a WordPerfect exit, verifies the number of records in the AutoRetrieve file before any records are added to or removed from this file. (Version 5.07b) 13 Apr2 Added help from the main exit menu. The Help display is a toggle menu (on/off) from the main exit menu. It isn't from an file specification edit (i.e., menu selections 1 or 2). (Version 5.10) 14 Apr2 Modified the help menu to be smaller. It no longer takes up as many lines on the screen. (Version 5.10a) ADDR2ENV 21 Mar2 This macro takes an existing address from a document and places an envelope page at the very end of it. This version was genericized for public release. You will have to place your return address in it and the name of the envelope you're using. The default envelope is called þENVELOPE - Wideþ. (Version 1.1) 23 Mar2 This macro uses a rescalable font. For those who want a different font I've made the desired font a variable. Just put the name of the font(s) desired in the identified variables. Also, for those without the rescalable font capability comment out the two lines identified (i.e. while in the macro editor move to the lines identified, place the cursor at the beginning of the line, hit CTRL PageUp and hit the enter key on the {;} character. Then, go to the end of the line (hit the END key) and hit the tilde (~). This comments out the line (makes it a comment) so that the macro won't use it. (Version 1.1a) 24 Mar2 When the mailing address if moved to the envelope page the margins are now set to "minimum" margins. These margin settings are defined as variables at the beginning of the macro (as well as the margins to reset to at the bottom of the page) for ease of user customization. (Version 1.1b) 31 Mar2 Cursor now moves to the beginning of the address at the completion of the macro instead of remaining at the end. Not all scalable font related stuff was changed to allow the user to comment/remove them if desired. This completes that task. (Version 1.1c) ALTKEY 23 Mar2 Added ALTE (ENVELOPE) information. (Version 2.11) 12 Apr2 Added TABLE information and updated ALTE information. Improved some program loops used to branch to another menu option. (Version 2.11b) BARCODE 23 Mar2 This version is more compatible with ADDR2ENV. This version checks to see how the address has been placed on the page (or envelope). The various tabs (right, center, indent, etc) are all converted to normal tabs. If no tab was used then the bar code doesn't use one either. (Version 1.10) 31 Mar2 Discovered that some zipcodes were more susceptible than others to being incorrectly completed. Traced the problem to routines within a FOR loop which called operations outside of it. Rewrote to correct the þproblem.þ Added a routine which now shows the barcode being built (so to speak) to indicate progress with respect to the original zipcode. (Version 1.20) 4 Apr2 The dash in the nine digit zipcodes was causing a problem with creating a correct zipcode (it was being replaced by a duplicate of the previous digit). This was previously overlooked and has been corrected. (Version 1.20a) DP 28 Mar2 Made some minor menu option changes with respect to the FILES option (changed to WPFiles with þWþ as the menu option rather then þFþ) and WP51 (option changed from to þWþ to þ5þ) (no version change) 19 Apr2 Made a change to support hitting the save key (F10) rather than the enter key to save a file. (Version 1.03a) FN 13 Apr2 Made some minor changes to accomodate access to help from the main menu of the EXIT macro (ALTX). (Version 1.51) Enh Right Arrow 8 Apr2 Enhanced arrow keys now work in F5 (List), Macro Edit (Ctrl F10 macro name) and keyboard definition file macros edit (Shift F1 5 1 macro name Action). (Version 2.03f) 9 Apr2 Enhanced arrow keys now work in Sort menus. (Version 2.03g) 13 Apr2 Within TABLE edit, when the cursor is in the last unlocked cell and the cursor right key is hit, the cursor is moved to the first unlocked cell in the same row. (Version 2.10) 16 Apr2 The number of menu's which had to be checked for to allow the enhance arrow keys to work correctly was way to many (almost 40)! The algorithm which checks to see if it's ok to perform as intended was completely revamped. This change should increase the speed at which the user sees the key respond on slow systems. Fast systems won't notice much of a change. What this change means is that the the enhanced arrow keys should work as intended regardless of what menu or screen the user is in. (Version 2.11) Enh Left Arrow 8 Apr2 Enhanced arrow keys now work in F5 (List), Macro Edit (Ctrl F10 macro name) and keyboard definition file macros edit (Shift F1 5 1 macro name Action). (Version 2.03f) 9 Apr2 Enhanced arrow keys now work in Sort menus. (Version 2.03g) 13 Apr2 Within TABLE edit, when the cursor is in the first unlockec cell and the cursor left key is hit, the cursor is moved to the last unlocked cell in the same row. (Version 2.10) 16 Apr2 The number of menu's which had to be checked for to allow the enhance arrow keys to work correctly was way to many (almost 40)! The algorithm which checks to see if it's ok to perform as intended was completely revamped. This change should increase the speed at which the user sees the key respond on slow systems. Fast systems won't notice much of a change. What this change means is that the the enhanced arrow keys should work as intended regardless of what menu or screen the user is in. (Version 2.11) ALT Enh Right Arrow 11 Apr2 The macro was removed from the keyboard definition file - it's now a standalone macro (NEXTCOL.WPM) which the keyboard definition file accesses. The macro was modified to work with TABLE (the Table Edit mode blocking macro). (Version 2.10) 13 Apr2 Minor improvement. Screen is no longer rewritten, except while in table edit mode, when cursor is moved to the next cell. (Version 2.10a) ALT Enh Left Arrow 11 Apr2 The macro was removed from the keyboard definition file - it's now a standalone macro (PREVCOL.WPM) which the keyboard definition file accesses. The macro was modified to work with TABLE (the Table Edit mode blocking macro). (Version 2.10) 13 Apr2 Minor improvement. Screen is no longer rewritten, except while in table edit mode, when cursor is moved to the previous cell. (Version 2.10a) CTRL Enh Up Arrow 13 Apr2 NEW. Within a table and while in TABLE Edit, the cursor moves to the last cell of the current column. If not in TABLE Edit, the cursor defaults to moving to the start of the previous paragraph (normal WordPerfect operation). (Version 1.0) CTRL Enh Dn Arrow 13 Apr2 NEW. Within a table and while in TABLE Edit, the cursor moves to the first cell of the current column. If not in TABLE Edit, the cursor defaults to moving to the start of the next paragraph (normal Wordperfect operation). (Version 1.0) BARCODE 23 Mar2 This version is more compatible with ADDR2ENV. This version checks to see how the address has been placed on the page (or envelope). The various tabs (right, center, indent, etc) are all converted to normal tabs. If no tab was used then the bar code doesn't use one either. (Version 1.10) TABLE 23 Mar3 Vertical centering in a cell wouldn't always be reported correctly under macro control even if the vertical centering had actually occurred. It does now. (Version 1.00a) 24 Mar2 A blocked region would justify/align. This has been fixed. Extended the ability to turn on/off blocking and change size of blocked region to the enhancement and justify/align menus. (Version 1.01) 25 Mar2 An earlier modification removed the ability of the macro to sense an active block when initially executed. This feature was reinstalled. Extended the ability to turn on/off blocking and change size of blocked region to the next level lower of enhancement and justify/align menus, as well as to the LINE menus. (Version 1.10) 7 Apr2 The move within a table was a misnomer under certain circumstances. Mostly all it did was move text unless a row or column was specifically identified. In the case of a blocked region, the only thing moved was the text. If you wanted to move a range of cells or columns you had to resort to the native WordPerfect move to do it properly. This is no longer necessary. If you define a region by blocking it then execute an ALTB MOVE, an additional menu is entered which asks exactly what you want to do. There are three options: Text, Row(s), or Column(s). Text only moves the contents of the cells to another location. If you block two cells in a column you may move both rows by choosing the Row(s) option. In this case, the blocked rows identified the rows you wanted to move. If you block two adjacent cells you may chose the column(s) option. In this case both columns will be moved. You may choose to block as much of the table as desired. It's up to you to decide which option is best for you. (Version 1.20) 11 Apr2 Added Item Right and Item Left (Alt dark arrow keys). These call two macros which used to be entirely within the keyboard definition file (NEXTCOL.WPM and PREVCOL.WPM, respectively). These two macros can now be called from within the TABLE macro to move the cursor around within the table. (Version 1.21) ------------------------