ÿWPC[ûÿ(#8Macaruni Database Maintenance: Add ü Macaruni 1.0, copyright 1991 by Robert S. King Published by Wordsetters, P. O. Box 709, Winterville, GA 30683 All Rights Reserved This macro, MRDB.WPM, brings up the database maintenance menu and allows additions to be made to the database.~ üfirst~ ü5üdocument~&256~ .€ ütest2~ ü üempty~ ü ütest2~ ü5üdocument~&256~ üdbmenu~ ü üempty~ ü üempty~ ü€€€€ Documents 1 and 2 must be empty to perform database maintenance. € Please save or remove file from memory and restart Macaruni. € Press €€ENTER€€ to exit this prompt display. €€~ü F€F€ ü ü üdbmenu~ ü)ü&1~ .€ ü üüquit~~ üdata~€ €€€ Macaruni 1.0 € Database Management Menu €€ €€€ €€€€ €€ €€€ €€ €€Add Record€€  €€Delete Record€€  €€Edit Record€€ €€ €€ €€€ €€   €€ €€ €€€ €€ €1€ Master Macro List  €4€ Master Macro List  €7€ Master Macro List €€ €€ €€€ €€ €2€ Category Menu  €5€ Category Menu  €8€ Category Menu €€ €€ €€€ €€ €3€ Category Macro List  €6€ Category Macro List  €9€ Category Macro List €€ €€ €€€ €€ €A€ Keyboard List  €D€ Keyboard List  €E€ Keyboard List €€ €€ €€€ €€€€ €€ €€€ €€ €?€ €H€elp €€ €€ €€€ €€ €P€ Print €€ €€ € €€ €€ €Q€ Quit (also €F1€) €€ €€ € €€ €€€€ €€ €€€ €€~ F€F€ ü4üdata~~ 1~adddata~ 2~addcat~ 3~adddata~ 4~delrecord~ 5~delrecord~ 6~delrecord~ 7~edit~ 8~edit~ 9~edit~ ?~help~ a~adddata~ A~adddata~ d~delrecord~ D~delrecord~ e~edit~ E~edit~ h~help~ H~help~ p~print~ P~print~ q~quit~ Q~quit~ =ü~error~~ üerror~ üInvalid entry! Returning to menu.~ *ü15~ F€F€ üdbmenu~ üadddata~ &€nn ü"4üdata~"="1"~ 5€c:\macaruni\mrmain.cat € €€€€ ülistdir~ ü ü"4üdata~"="3"~ $€c:\macaruni\*.cat €51 € üüquitlist~~ üMove cursor to category file, press ENTER to select: ~ü ü7~5üentry~~ 1 €€€ ülistdir~ ü ü"4üdata~"="a"|"4üdata~"="A"~ 5€c:\macaruni\keyboard.ksf € €€€ ülistkey~ üüü ülistkey~ üüquit~~ /üpath~ $€4üpath~ €51*.wpk € n4ü9~ € üprompt~ ü (üpath~€Type full path (e.g., c:\wpm) of directory containing keyboard, press ENTER: €~ $€4üpath~ €51*.wpk € üprompt~ ü ülistdir~ üüquit~~ /üpath~ $€4üpath~ €51 € n4ü9~ € üprompt~ ü (üpath~€Type full pathname (e.g., c:\wpm) of directory containing macro, press ENTER: €~ $€4üpath~ €51 € üprompt~ ü üprompt~ üüquitlist~~ ütasklist~€ € €€€€€ €D€elete; €R€ename/Move; €S€hort/Long Display; €O€ther Directory; €C€opy; €€€€ €€€€€€ €L€ook; €H€elp; €N€ame Search; Movement keys: €€; €PgUp-PgDn€; €€€€ €€€€€€ €*€ tags; €Alt-F5€ tags all; €M€ask; €Q€uit; €€ENTER€€ selects file €€€€~ ü4ütasklist~~ !€~namesearch~ €~right~ €~left~ €~up~ €~down~ Z€~pgdown~ Y€~pgup~ <€~marktext~ d~delete~ D~delete~ m~filemask~ M~filemask~ r~move~ R~move~ s~short~ S~short~ o~otherdir~ O~otherdir~ c~copy~ C~copy~ h~helpadd~ H~helpadd~ l~look2~ L~look2~ 6~look2~ n~namesearch~ N~namesearch~ €~putname~ q~quitlist~ Q~quitlist~ €~quitlist~ =ü~invalid~~ üinvalid~ F€F€ üInvalid key. Returning to menu.~ *ü15~ F€F€ üprompt~ üright~ € üprompt~ üleft~ € üprompt~ üup~ € üprompt~ üdown~ € üprompt~ üpgdown~ Z€ üprompt~ ütag~ * üprompt~ üpgup~ Y€ üprompt~ übadtag~ F€F€ üInvalid choice, press ENTER to continue~ü F€F€ üprompt~ ümarktext~ <€ üprompt~ üfilemask~ F€F€ ü5~€€  Please choose filename pattern:  €  €1.€ *.wpk €2.€ *.doc €3.€ *.sty €4.€ *.wpm €5.€ *.* €6.€ Other (you type) ~ ü4ü5~~ 1~listwpk~ 2~listdoc~ 3~liststy~ 4~listwpm~ 5~listall~ 6~listuser~ =ü~listuser~~ ülistwpk~ F€F€ ü5~*.wpk~ $€*.wpk € üprompt~ ülistdoc~ F€F€ ü5~*.doc~ $€*.doc € üprompt~ üliststy~ F€F€ ü5~*.sty~ $€*.sty € üprompt~ ülistwpm~ F€F€ ü5~*.wpm~ $€*.wpm € üprompt~ ülistall~ F€F€ ü5~*.*~ $€*.* € üprompt~ ülistuser~ F€F€ (ü4~Type filename pattern, press ENTER ~ $€4ü4~ € ü4~5~ üprompt~ ünamesearch~ üüprompt~~ üüprompt~~ üüprompt~~ F€F€ (üsearch~Type name to search for, press ENTER ~ n4üsearch~ € üprompt~ üdelete~ F€F€ d üask~ üprompt~ ümove~ m üask~ (ümove~Move these files to: ~ 4ümove~ € üask~ üprompt~ üshort~ F€F€ üshort~Choose: €1€. Short; €2€. Long~ ü"4üshort~"="1"~ 51 € ü ü"4üshort~"="2"~ 52 € üü F€F€ üprompt~ üotherdir~ F€F€ ügocopy~ ügodir~ ügodir~ $€4üpath~ €51 € (üpath~€€Ready to change directory: type full pathname, press ENTER €€~ 74üpath~ € €51 € F€F€ üprompt~ ücopy~ F€F€ c üask~ (ücopy~Copy to (drive:\path): ~ 4ücopy~ € üask~ F€F€ üprompt~ ülook~ üübadtag~~ üübadtag~~ ü"4ü9~"=".Current"|"4ü9~"="..Parent"~ übadtag~ ü "ü ü "ü ülook2~ 6 ülook~€(€€Press any key to continue€€~ &€ F€F€ üprompt~ üask~ ü3~)ü&1024~ +ü)ü&1024~ ü3~~ ü"4ü3~"="y"|"4ü3~"="Y"~ y ü € üprompt~ ü ü "ü üputname~ ü9~5üentry~~ ülook~ &€ €€€ 4ü9~P€P€P€P€ €€;€U€€,üa9 € üdupe~ €€€ (€ 4üpath~(€ 3üEnter description of 4ü9~, press ENTER~ €€€(€4€e üdomore~ üdomore~ üaddmore~Do you wish to add another to this list? (y/n)~ ü4üaddmore~~ y~getmore~ Y~getmore~ n~gocopy~ N~gocopy~~ ügocopy~ ü"4üdata~"="a"|"4üdata~"="A"~ ünocopy~ üü ü $€c:\macaruni\cfg €51*.wpm € € 84üpath~ € ü)ü&1024~ y ü ü € 84üpath~ € ü)ü&1024~ y ü ü $€*.wpk € € üwpk~5ülist~-2~ ü4üwpk~>0~ ükey~€€ Do you wish to copy your default keyboard into €4üpath~€? (Remember: € the WPK file in the target directory will be overwritten, even if newer. (y/n) ~ ü"4ükey~"="y"|"4ükey~"="Y"~ 84üpath~ € ü)ü&1024~ y ü ü ü ü ü ü ü"4ütasklist~"="o"|"4ütasklist~"="O"~ "ü ü ünocopy~ ü ünocopy~ ü €€€ L€2 € €71611 üc:\macaruni\mrsave~ &€nn üpath~~ üsort~ "ü üsort~ L€1 ü"4üdata~"="1"~ c:\macaruni\mrmain.pf € c:\macaruni\mrmain.cat € üsave~ ü ü"4üdata~"="3"~ c:\macaruni\mrmain.pf € c:\macaruni\4ü7~ € üsave~ ü ü"4üdata~"="a"|"4üdata~"="A"~ c:\macaruni\keyboard.pf € c:\macaruni\keyboard.ksf € üsave~ üüü üsave~ )€ ü5ümenu~=32809~ c:\macaruni\ ü"4üdata~"="1"~ mrmain.mrg €y &€nn üdbmenu~ ü ü"4üdata~"="3"~ 4ü7~P€P€P€mrg €y &€nn üdbmenu~ ü ü"4üdata~"="a"|"4üdata~"="A"~ keyboard.mrg €y &€nn üdbmenu~ üüü ü ü5ümenu~=65027~ € €c:\macaruni\ ü"4üdata~"="1"~ mrmain.mrg €y &€nn üdbmenu~ ü ü"4üdata~"="3"~ 4ü7~P€P€P€mrg €y &€nn üdbmenu~ ü ü"4üdata~"="a"|"4üdata~"="A"~ keyboard.mrg €y &€nn üdbmenu~ üüü üü ügetmore~ ü"4üdata~"="1"|"4üdata~"="3"~ ülistdir~ ü ü"4üdata~"="a"|"4üdata~"="A"~ ülistkey~ üü üaddcat~ .€ 5€c:\macaruni\mrcat.csf € ünamecat~ üüquit~~ (ünewcat~€Type the new category name (€€max 8 characters€€), press ENTER: €~ üüskincat~~ !€4ünewcat~(€!€ üSorry, €€4ünewcat~€€ already exists in database!~ *ü25~ €€€ F€F€ ünamecat~ üskincat~ üüquit~~ €€€ 4ünewcat~T€;€U€.€1(€ 3ü€Type brief subject description for 4ünewcat~, press ENTER €~ (€4€e $€c:\macaruni €51 € nmrnull.sf € 8c:\macaruni\4ünewcat~.cat € 84ünewcat~.mrg € *ü5~ F€F€ ümorecat~Do you wish to add another category? (y/n)~ ü4ümorecat~~ y~again~ Y~again~ n~merge~ N~merge~ =ü~merge~~ üagain~ ünamecat~ üsortsf~ €€€ L€2 € €71611 üc:\macaruni\mrsave~ &€nn "ü ümerge~ €€€ L€2 € €71611 üc:\macaruni\mrsave~ &€nn L€1c:\macaruni\mrcat.pf € c:\macaruni\mrcat.csf € )€ ü5ümenu~=32809~ c:\macaruni\mrcat.mrg €y &€nn ü ü5ümenu~=65027~ € €c:\macaruni\mrcat.mrg €y &€nn üü &€nn .€ üdbmenu~ üdelrecord~ üc:\macaruni\mrdel~ üdbmenu~ üedit~ üc:\macaruni\mredit~ üdbmenu~ üprint~ üc:\macaruni\mrprint~ üdbmenu~ ühelp~ üdbhelp~ € €Macaruni Database Management Help Screen€ €  € €€Add Record Options:€€ € €1€ Master Macro List: Allows you to add new macros to the main macro list. € You will be prompted for the necessary information. € €2€ Category Menu: Allows you to add a new category of macros (e.g., € LABELS, MERGE, etc.) from which you may call up € lists of macros assigned to the desired category. € €3€ Category Macro List: Allows you to add macros to a category list. € €€Delete Record Options:€€ € €4€ Master Macro List: Same as 1 above, but deletes from the list. € €5€ Category Menu: Same as 2 above, but deletes categories. € €6€ Category Macro List: Same as 3 above, but deletes macros from list. € €€Edit Record Options:€€ € €7€ Master Macro List: Same as 1 above, but revises data in NAME, PATH, or € DESCRIPTIONS fields of the main macro list. € €8€ Category Menu: Same as 2 above, but revises category data. € €9€ Category Macro List: Same as 3 above, but revises data in a macro list € assigned to a particular category € € €Q€ Quit (also F1): Exits Macaruni € €X€ Exit this menu: Exits database menu, returns to previous level. €  € €€Press any key to return to the Database Maintenance Menu€€~ F€F€ üdbmenu~ ühelpadd~ ühelpmore~€ € €Macaruni Add-Macro Help Screen€ €  € €€NOTE: Only one macro at a time may be selected. The Tag File feature is € intended for file handling only (i.e., copy/move/delete, etc.). See € ENTER below for specifics of how to add multiple macros. €€ € €D€elete: The file under the cursor will be deleted. If you have tagged € multiple files, then all tagged files will be deleted. € €R€ename/Move: As above, but renames files in current directory or moves € them to another drive/directory. € €S€hort/Long: Toggles between short and long filenames. € €O€ther Directory: Goes to the file list of a specified directory. € €C€opy: As Delete above, but copies files. € €L€ook: Views contents of files. You may also press €6€ to view. € €N€ame Search: Searches for a string in the current file list. € €€: Cursor keys function as normal to move around the list. € €Pg Up€-€Pg Dn€: Move the file display up or down one screen. € €Alt-F5€: Tags all files in current directory (used with €D€, €R€, €M€, €C€) € €M€ask: Changes filename pattern in current directory. € €Q€uit: Quits Macaruni and clears screen. € €ENTER€: Pressing ENTER selects the macro under the cursor for addi- € tion to the pre-specified macro category list. You will be € prompted for a description of the macro and then asked if you € wish to add another macro to the list. If so, you will be € returned to the previous file list to continue the process. ~ F€F€ üprompt~ üdupe~ €€€ ü"ü~ !€4ü9~(€!€ üsame~ €€4ü9~€€ already exists in this list. Do you wish to add it anyway? (y/n)~ F€F€ ü"4üsame~"="y"|"4üsame~"="Y"~ €€€ "ü ü €€€ €€ €y üdomore~ ü "ü üquit~ ü)ü&2~ &€nn .€ ü ü)ü&1~ .€ &€nn .€ ü5üdocument~&1~ üwarning~ ü &€nn ü üü ü üquitlist~ ü5ümenu~=305~ &€ üstate~ ü üstate~ ü üstate~ ü5üdocument~&1~ üwarning~ ü ü ü)ü&2~ &€nn .€ &€nn ü ü)ü&1~ &€nn .€ &€nn .€ üü ü üexit~ +ü5ümenu~!=65535~ ü &€ ü ü "ü üwarning~ ükey~ € €€ €  €€Warning!€€ Changes have been made to the database.  €  Do you wish to save the changes? (y/n)  € €€~ F€F€ ü4ükey~~ y~yes~ Y~yes~ n~no~ N~No~ =ü~again~~ üyes~ .€ üAt the following menu, press €€v€€ to save~ *ü25~ F€F€ ümenu~ üno~ ü)ü&1~ .€ &€nn .€ &€nn ü ü)ü2~ &€nn .€ &€nn üü ü üagain~ üwarning~ ü