home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-03-01 | 42.1 KB | 1,143 lines |
- .po0
- .op0
- ********************** MENU MAKER PROGRAM ****************************
- ------------------
- 1.Introduction
- ------------------
- In each of your software programs, you undoubtedly use certain commands
- over and over again. It becomes tiresome to type the same Keystrokes to
- do simple, repetitive tasks. Wouldn't it be wonderful if you could save
- command keystrokes, just like you can save files? You only have to type
- each series of keystrokes once,name and save them, and retrieve them
- each time you wanted to reuse them. Imagine if you could also create
- additional commands and modify existing ones as needed.
-
- The Mouse Menu Maker Program (ARMAKE) Lets you create customized
- pop-up menus for your software application. Design individual menus
- for word processsing, spread sheet, graphics programs and much more.
- The ARMAKE program is user-friendly and easy to learn.
-
-
- Mouse Menus are useful for software programs which do not come
- with their own mouse_supported menus.Do not create your own pop_up menu
- for software programs that already contain these menus. The software
- programs own menu will override your Mouse menu.
-
-
- This chapter provides technical explanations for all of the Menu
- Maker features.The next chapter is a tutorial to design a pop_up menu.
- While the tutorial is designed for users of the WordPerfect program,it
- is useful for everyone.
-
- Page-1
- ---------------------
- 2.The Pop-up Menu
- ---------------------
-
- Mouse menus are memory resident.Once you activate a menu,it
- stays in the computers memory until you remove it. While it is active,
- your menu will appear wherever you invoke it, perhaps in places you
- dont expect.Be very careful,because an Mouse menu will execute
- the same keystrokes regardless of what software application you are
- in. The series of keystrokes that execute a print command you designed
- for your word_processing programs may invoke an incoherent string of
- commands in your spreadsheet program!Be sure you are using the correct
- Mouse menu for each of your software programs.
-
- Memory resident programs,like Mouse menus,may interfere with
- some of your other software programs.It is a good idea to deactivate
- Mouse menus when you are not using them so your other software
- prograqams can run at peak capactity.If you encounter memory problems,
- make sure that you have dectivated any Mouse menus. You may
- also want to decrease the number of functions in some of your
- Mouse menus to free up more memory.
-
-
- 2.1.Planning Your Pop-up Menu
-
- Before you begin to use the ARMAKE program, you should make an outline
- of yourmenu. What sort of options do you want? Will one main menu be
- enough, or do you want sub_menus?Where do you want the menu to appear
- on the screen?What functions will mouse buttons have?
-
- Often,menus have more capabilities than can be displayed on the screen
- at one time. The commands are grouped according to common functions
- such as file management and page formatting. Each has a heading which
- ,when selected, displays the list of related commands.This second
-
- Page-2
-
- list is called a "Sub-Menu."Sub menus are especially useful if you want
- to have many menu commands limited space to display your menu.
-
-
- Designing pop_up menus is similar to writing macros in other software
- programs such as spreadsheets
-
-
- . List which commands you use repeatedly.
- . Record each command keystroke,including returns
- and spaces.
- . Call the ARMAKE program.
- . Design your menu outline
- . Type the keystrokes for each command and give each a name.
-
- After existing the ARMAKE program,tell the computer to use our new
- menu.
-
- Enter your software program,and call up your new menu.Each time you
- select an option from your new menu,the commands you enter will be
- executed with one click of the Mouse button.
-
- Following is a list of some functions that are often used in all
- software programs:
-
- Copy Data
- Move Data
- Delete Data
- Print
- Exit Menu
-
- Page-3
-
- >> NOTE:
- The "Exit Menu" option returns you software program.
- Without it you won't be able to get back into your file once you have
- entered your pop_up menu.
-
- You may want to group those commands with similar functions.For instance
- ,the Copy, Move and Delete Data Functions could all be grouped under one
- heading,Data Management.
-
-
-
- This is one possible pop_up menu outline:
-
- Data Mgt . . . . . . . . .Print
-
-
- Its Data Management sub menu would contain these options:
-
-
- Copy . . . . . . . . . Move
- Delete . . . . . . . . .Return
-
-
- >> NOTE:
-
- The Return function in sub menu returns you to the Main Menu. This is
- an optional function.. An Exit Menu function in the sub menu is also
- optional.However,you must have one or the other, or else you will not
- be able to leave the sub menu.
-
- Page-4
-
- Your Mouse probably behaves differently in each of your software
- peograms.You can assign often_used keystrokes like Return or Tab to the
- Mouse buttons.One button should be reserved to call your pop_up
- menu. The buttons retain these assignments while the pop_up menu is
- active. however, while like the Return key, selecting highlighted menu
- options.
-
-
- Once you have decided which functions you want to include in your menu,
- record how each command is executed in the software program. The best
- strategy is to enter the software program,and execute each command.Write
- down each keystroke, including spaces and returns. You will need to
- re-enter this information when you design your Mouse menu.
-
-
- 2.2. Creating Your Pop-up Menu
-
- Make sure your Mouse is active. See section 2.4 for instructions.
-
- To begin the ARMAKE Program,first change to the directory in which
- your Mouse files are located. Type following:
-
-
-
- CD\ (Name of directry ) <Return>
-
-
- Type the following:
-
-
- C:ARMENU <RETURN>
-
- Page-5
-
- ---------------------------
- 3.The Menu Maker Screen
- ---------------------------
- ARMAKE functions are divided into three sections:Menu Functions, Macro
- Functions, and Mouse Functions.
-
- Menu Functions are located in the upper left section of the screen.
- These functions enable you to design the outline, appearance and
- position of main and sub pop-up menus. You also define the series of
- keystrokes, or macros, each option in your menu(s) will execute.
-
- Macro Functions are located in the lower left section of the screen. A
- macro Functions of a series of keystrokes.When you invoke a macro, the
- computer executes the keystrokes without your retyping them on the
- keyboard.Macros control the Mouse behavior.You can also assign
- macros to your pop-up menu options.
-
- Macro Functions are locate on the right side of the screen.Assigning
- macros to the mouse movements and buttons determines how the Mouse
- will behave while your pop-up menu is active.
-
- The File Management functions,located in the upper right section of the
- screen,enable you to load and save your Mouse menus,and exit the
- ARMAKE program.
-
-
- Page-6
- 3.1 Mouse and Keyboard Functions
-
- In the ARMAKE program, the left mouse button functions like the Return/
- Enter key and the right button functions like the Escape key. Clicking
- the left button executes the highlighted command. Clicking the right
- button returns you to your previous step without executing the
- highlighted command.
-
- The Mouse Menu Maker program uses a series of pop-up menus
- which are controlled with the Mouse.To create your pop-up menu,
- you will use the Mouse to move around the menus, clicking the buttons
- to select various functions.
-
- This tutorial will often ask you to SELECT or EXIT a function or item.
-
-
- .To SELECT a function:
- Position the cursor so the desired function is highlighted.Click the
- LEFT button.
-
- .To EXIT a function or pop-up menu:
- Click the RIGHT button.
-
-
- Use your keyboard to type the names of your menu options. Type the
- Return key or clicking the left button will complete your entry.
-
-
- >> NOTE:
-
- The keyboard reacts differently when you define menu macros, that is,
- the actual keystrokes that comprise the command.
-
- Page-7
- 3.2. Menu Functions
-
- When you first enter the ARMAKE program, the "Menu List" area will be
- empty.You can either retrieve one of your previously made menus,or
- create a new one.
-
- 3.2.1 Creating Menus and menu Levels
- .1. Move your Mouse to the "Menu List"heading and click
- the left button.
- .2 Select the "Add new Menu" function.
- .3 Type a heading for your menu in the highlight.The text will
- scroll to the left as you type. Though only 10 characters are visible
- at any one time, your entire entry will be recorded. The text also
- appears at the bottom right of the screen.
-
- Complete your entry by typing the Return key or clicking the button.
-
- >> NOTE
- This is not the file name. This is the heading that will appear over
- your menu options when you call your menu in the software program.
-
- Each menu level you create will appear in this area. Each level of a
- multi-level menu must be defined separately.The levels are then assembled
- using the "Follow Action"function.
-
-
- Page-8
- 3.3 Adding Menu Option
-
- 3.3.1.Adding the First Option
- .1.Select the heading of the menu you want to expand. The head-
- ing is located in "Menu List"area.
- .2.A pop-up menu with two sections will appear. The top section
- contains the menu heading. The bottom section contains all current
- menu options.Since you are creating a new mennu, this area
- will be blank.
- .3.Move your cursor to the bottom half of this pop-up menu and click
- the left button.
- .4.Select the "Add"function in the resulting pop-up menu.
- .5.Type the name of your menu option in the highlight. If you are
- defining a copy option, you may want to call it "Copy."If you are
- your entry by typing the Return key or clicking the left button.
-
- The menu option heading is now displayed in the bottom half of the split
- pop-up menu.
-
- 3.3.2 Adding More Menu Options
- .1.Select the menu heading located in the "Menu List"area.
- .2.Highlight the menu option heading in the bottom half of the
- split pop-up menu and click the left button.
- .3.A more detailed pop-up menu will appear. The two"add" functions
- operate similarly to the ADD function explained above:
-
-
- Page-9
- Add (up arrow)
- . Insert another menu command above the currently highlighted
- command.
- Add (down arrow)
- . Insert another menu command above the currently highlighted
- command.
- . 4.Type the name of the menu option heading. Complete by typing
- the Return key or clicking the button.
- . The new menu option heading now appears above or below the mwnu
- option heading you selected, depending on which add function
- you selected.
-
- 3.3.3 Renaming Menu Option Heading
-
- .1.Select the menu heading in the "Menu List"are.
- .2.Select the menu option heading you want to rename.
- .3.Select the "Rename" function.
- .4.Type the new menu option heading. Complete by typing the
- Return key or clicking the left button.
-
-
- 3.3.4 Erasing a Menu Option Heading
-
- .1.Select the menu heading from the "Menu List"are.
- .2.Select the menu option heading you want to rename.
- .3.Select the "Erase" function.
- .4.Click the left button toconfirm.Click the right button abort.
-
- Page-10
- ---------------------------
- 4.Defining Menu Options
- ---------------------------
- Use the following three functions to define your menu options:
-
- The "Modify Macro" function lets you define commands keystroke by keystroke.
- The message (No:#) to the right of the "Modify Macro" command displays the
- number of keystorkes in the command you are currently defining. Before you
- initialize a command,the Modify Macro counter is set to NUL.
-
- The "Follow Action" function assigns pre-defined macros and menu calls to the
- menu option. Use this function to call sub-menus within your Pop-Up menu.
-
- The "Modify Mouse State" function lets you control the behavior of the
- Mouse while the menu option is being executed.
-
- 4.1.Assingning Command Keystrokes
-
- .1.Select the menu heading from the "Menu List" area.
- .2.Select the menu option heading to be defined.
- .3.Select the "Modify" function.
- .4.Select the "Modify Macro" function.A new screen will appear.
- .5.Enter the keystrokes that comprise your command in the order they
- should be executed. Be sure not to omit any spaces or returns,or add
- any extra keystrokes.
- .Each keystroke you enter will be displayed within the template borders.
- Non-alphabetic or numeric keystrokes are identified by the following
- abbreviations:
-
- Page 11
-
- Return [CR]
- Backspace [BACK]
- Escape [ESC]
- Up Arrow [UP]
- Down Arrow [DN]
- Left Arrow [LFT]
- Right Arrow [RGT]
- Home [HOME]
- End [END]
- Page Up [PGUP]
- Page Down [PGDN]
- Tab [TAB]
- Insert [INS]
- Delete [DEL]
- Function Keys F plus#
-
- .Certain commands require you to hold down the Shift,Control or Alt keys while
- typing another key. The codes that appear on the screen in this mode when you
- type these keystroke combinations may be unfamiliar. The computer can read
- these codes;they are displayed to verify that your keystrokes have been
- recorded.
-
- .6.Complete your macro by clicking the left and right buttons simultaneously.
- You will then be returned to the Mouse Menu Maker Screen.
-
- .It's a habit to hit the Carriage Return after you have completed an entry in
- any program. However,in this mode,the Carriage Return is recorded as a
- keystroke in your macro. Extra Carriage Returns will cause problems when you
- run your macro in your pop-up menu.
-
- Page-12
-
- >> Erasing Mistakes while Assigning Command Keystrokes
-
- -Erase mistakes such as unwanted Carriage Returns by
- highlighting the unwanted keystroke and clicking the right
- button. Be sure not to erase the [CR]'S that are necessary
- to your macro.
- -The Delete and Backspace keys are disabled in this mode.
- Typing either of those keys will only enter its corresponding
- symbol in your macro. Inadvertently typed [DEL] and
- [BACK] symbols can also be erased by highlighting them
- and clicking the right button.
- .7.A number representing the number of keystrokes in your command is now
- displayed in the (No:#) message to the right of the
- "Modify Macro" command.
-
- 4.2.The "Exit Menu" Command
-
- It is important that you include an "Exit Menu" command in your pop-up
- menu. Otherwise,you will not be able to leave your pop-up menu once
- you enter it.
-
- Follow the steps outlined above to add an "Exit Menu" option to your
- menu. Do not define any keystrokes for it. The "Number of Keystrokes"
- indicator will remain NUL. Since there are no keystrokes to execute,you
- will return to the program from which you called your pop-up menu each
- time you select this option.
-
- Page-13
- ----------------------------
- 5.Assembling Menu Levels
- ----------------------------
- The "Follow Action" function tells the Menu Maker program what "action"
- will occur after,or "follow,"selection of the current menu option.
- "Follow Action" is used primarily to move among sub menu levels.
-
- In order to connect your menu levels,you must have an option in each
- levelthat will call the next menu.The option headings used in higher Level
- menus to call sub menus usually correspond to the sub menu heading as
- it appears in the Menu List. Sub menu options that call higher-level
- menus are usually named "Return to Main Menu" or something similar.
-
- .1.Select the higher-level menu heading. Move down the list of
- menu commands you created. If you have not already created an
- option to call your sub-menu,do so now using either of the "Add"
- functions.
-
- .The sub-menu calling option in the higher-level menu may
- or may not be the same as the sub menu's title as it appears in the Menu
- List area.
- .2.Select the sub menu call option heading in the bottom half of the split
- pop-up menu.
- .3.select the "Modify" function.
- .4.Select the "Follow Action" function.
- .5.Select the MENU option.
-
- Your cursor is now located in the Menu List Area. Select the heading of
- the sub menu that this option will call.
-
- When you select this menu option in your pop-up menu,the sub menu you
- identified will be superimposed on your higher-level menu.
-
- To call a higher-level menu from a sub menu,repeat these step,replacing
- "higher-level menu" with "sub menu" and vice versa.
-
- Page-14
- ---------------------
- 6.Defining Macros
- ---------------------
-
- Macros are series of keystrokes that together execute an action. Defining
- macros in the Macro List area is another way to define menu options.
- Instead of typing the keystrokes in the Modify Macro mode of menu
- definition,you create a macro,then assign it to the menu option using the
- "Follow Action" function.Menu Maker macros also control the behavior
- of your Mouse.
-
- Four macros already included in the Menu Maker program. They are
- displayed in the "Macro List" area of the screen:
-
- Macro Keystroke(s) Function
- Up [UP] Moves the cursor up the screen
- Down [DOWN] Moves the cursor down the screen
- Left [LFT] Moves the cursor to the left
- Right [RGT] Moves the cursor to the right
-
- These macros have been assigned to the 4 "active" functions of the
- Mouse in your customized pop-up menu. They control the relationship
- between the mouse and cursor movement. See "Defining Mouse Functions."
-
-
-
- >> Macro definition is very similar to menu command definition.
-
-
- Page-15
- 6.1.Adding Macro Headings
-
-
- 1.Move cursor to "Macro List" title.Click the left button.
- 2.Click the left button again on "Add New Macro" POP-up menu.
- 3.Type the name of macro in the highlight Hit the return key or
- click the left button to complete.
-
- 6.2.Renaming Macro Headings
-
- 1.Select the macro heading from the "Macro List"area.
- 2.Select the "Rename" function.
- 3.Type the new name of macro in the highhlight.Hit the return key
- or click the left button to commplete.
-
- 6.3.Erasing Macro Headings
-
- 1.Select the Macro heading from the "Macro List" area.
- 2.Select the "Erase" function.
- 3.Click the left button to confirm. Click the right button to abort.
-
- 6.4.Defining Macro Functions
-
- 1.Select the Macro heading you want to define from the "Macro
- List" area. The Number of keystrokes in the Macro is displayed in
- the bottom lift of the screen.Since the macro is currently un-
- defined, the indicator reads NUL.
-
-
- 2.Select the "Modift" function 3.A templete identical to the
- Menu Command Definiton templete will appear.Type in the
- keystroke(s) that comprise your macro.
- When you have typed all the keystrokes, click the left and right
- buttons together to return to Menu Maker screen.
-
-
- Page-17
- -----------------------------------------------------
- 7.Controlling Mouse's Behavior in the POP-UP Menu
- -----------------------------------------------------
-
- The Mouse's functions are displayed in the right section of the
- screen under the heading "pre-Defined Actions." Each button and
- mouse movement executes a certain keystroke or series of keystrokes.
- the initial settings are as follows:
-
-
- Left Button ............ NO-DEFINE
- Right Button ........... NO-DEFINE
- Middle Button .......... NO-DEFINE
- Up Active ........... Up
- Down Active ........... Down
- Left Active ........... left
- Right Active ........... Right
- Sensitivity ........... X=5, Y=10
-
- NO-DEFINE stands for "not-defined." if you do not assign any functions
- to the three buttons, clicking them will produce no response when you
- activate you pop-up menu.
-
-
- Page-17
-
- >> NOTE
-
- The buttons are initially undefined concerning your pop-up menu.
- The Mouse settings in the AGMAKE Program are as
- follows:
-
- Left Button Enter
- (executes the highighted command)
- Right Button Escape
- (returns you to previous pop-up menu)
- Middle Button Undefined
-
- The four "active" settings control the cursor's movement on the screen
- when the Mouse is moved in one of the four directions.Initially,
- the cursor and mouse are programmed to move in tandem, that, when
- you move the Mouse to the left,the cursor moves to the left.
-
- The sensitivity measurs the relationship between the Mouse
- movement and the cursor movement. The default settings are X=5 and
- Y=10.Moving the Mouse 5 dots,or pixels,horizontally will move
- the cursor 1 column horizontally on the screen.Moving the Mouse
- 10 dots vertically will move the cursor 1 row vertically.The lower you
- the sensitivity,the faster the cursor will move on the screen relative
- to your Mouse movement.
-
-
- Page-18
- ------------------------------
- 8.Defining Mouse Functions
- ------------------------------
-
- The three buttons and four mouse directions can be programmed to
- execute any series of keystroke commands.However,actual keytrokes
- cannot be directly assigned to the mouse functions.They must first be
- defined as macros or menus.This is why these are called "Pre-Defined
-
- Functions.See "Defining Menu Options" and "Defining Macros" for
- more details.
-
- you must designate one mouse button to call up your pop-up menu.the
- other mouse buttons can be used to call sub menus or execute often-used
- keystroke combinations. For instance,certain software programs use
- keystroke combinations like ALT-M to Mark data for cutting And Pasting.
- Assigning this keystroke combination to one of the mouse button al-
- leviates you from using the keybord.
-
- The mouse buttons retain these assignments while the pop-up menu is
- active.However,while the pop-up menu is actually on the screen, all the
- button lose their assigned functions. While pop-up menu is on the
- screen, the buttons can only be used to select menu options.
-
- It is recommended that you leave the four mouse movements and four
- cursor movements in tandem.Programming your cursor to move down
- as you move your mouse to right may prove hopelessly confusing.
-
- 8.1 Assigning Macros and Menus
- 1.Define the macros and menu functions you want your Mouse to
- execute. See "Defining Menu commands" and Defining Macros."
- 2.Select the mouse-action you want to define, located in the
- "Pre-Defined Actions" area.
- 3.The following pop-up menu will appear:
-
- MENU Assign menu command
- to this mouse action
- MACRO Assign menu command
- to this mouse action
- EMPTY Reset mouse action (undefined)
-
- Page-19
-
- >> EXPLANATION
-
- Selecting the MENU function positions the cursor in the "Menu List"
- area Select which menu will appear when the highlighted mouse action
- is activated in your pop-up menu.
-
- Selecting the MACRO function positions you in the "Macro List" area
- Select which menu will executed when the highlighted mouse action
- is activated in your pop-up menu.
-
- Selecting the EMPTY function resets the highlighted mouse function to
- its initial status.
-
-
- 8.2 Formatting the pop-up Menu
-
-
- You can decide where on the screen you would like to have your pop-up
- menu appear Color momitors owners can also select the color of their
- pop-up menus.
-
- 1. Select the menu heading in the "Menu List" area.
- 2. Select the menu heading in the top section of the split pop-up
- menu.
- 3. Select the "Attribute" function.
- 4. The following pop-up menu will appear:
-
- X coordinate
- Y coordinate
- Video
-
- Page-20
- The X and Y coordinates determine the position of upper left hand
- corner of your menu. The initial settings,X=30 Y=12 position your
- pop-up menu in the middle of the screen. using the maximum settings of
- X=79 Y=24 positions the pop-up menu in the bottom right of the
- screen . The minimum settings X=0 Y=0 position the pop-up menu in
- the uppper left of the scrren.
-
- The video option determines the color of the pop-up menu. The follow-
- ing 25 color combinations are available:
-
- Number Foreground Background
-
- 0 Gray Gray
- 1 Red Gray
- 2 Magenta Gray
- 3 Purple Gray
- 4 Blue Gray
- 5 Light Green Gray
- 6 Indigo Gray
- 7 Black Gray
- 8 White Gray
- 9 Yellow Gray
- 10 Pink Gray
- 11 Orange Gray
- 12 Cyan Gray
- 13 Green Gray
- 14 Lavender Gray
- 15 Dark Gray Gray
- 16 Gray Red
- 17 Red Red
- 18 Magenta Red
- 19 Bule Red
- 20 Light Green Red
- 21 Indigo Red
- 22 GBlack Red
- 23 White Red
- 24 Yellow Red
-
- Page-21
-
-
- To modify any these attributes, highlight the corresponding function
- and click the left button. Enter the coordinate or color option in the
- highlight. Complete by hitting the terurn key or clicking the left button.
-
-
- 8.3. Special Considerations for Sub Menus
-
- EXIT MENU commands prevent you from getting stuck in your pop-up
- menu.You must have at least one EXIT MENU command in either your
- main menu or one of you sub menus. you can have EXIT MENU
- commands in both your main menu sub menus if you choose.
-
- Sub menus should also contain a RETURN menu command. RETURN
- menu commands enable you to return to main menu from the sub
- menu. In many software programs, this is accomplished by typin the
- Escape key.Some software program sub menus also have a Return Menu
- feature.
-
- 8.4.Creating a RETURN menu option
-
- 1.Select the sub menu heading from the "Menu List"area.
- 2.Position the cursor in the bottom half of the split pop-up menu
- and click the left button.
- 3.Use either "Add"function to insert a "RETURN" menu option.
- 4.Select the RETURN entry, and select the "Modify"function.
- The fowing pop-up menu will appear:
- MENU Assign menu command to executed
- MACRO Assign menu command to executed
- EMPTY Reset action to initial status
-
- 5.Select the MENU function. Your cursor will be positioned in
- the Menu List Area Select the heading of the higher-level menu
- to which you want to return. Click the left button
- 6.Exit to the Menu Maker Screen (click the right button).
-
-
- Page-22
- ---------------------
- 9.File Management
- ---------------------
- The File Management Functions let you load and save your customized
- pop-up menus.
-
- LOAD
- Retrieves perviously saved pop-up menus
-
- Highlighting this option and clicking the left button displays a list of
- previously saved pop-up menus in the current directory.
-
- SAVE
- Saves current pop-up menu to disk
-
- Choose from displayed list of previously saved pop-up menus. Or,type a
- new file name in the highlight followed by a return.
-
- The Mouse Menu Maker program affixes the AMT extension to
- your file name Typing this yourself is optional.
-
- Abort
- Clears all work from the screen
-
- Quit
- Leave ARMAKE program
-
- The space to the right of the "File"highlight displays the name of the file
- you are currently modifying.if you are designing a new pop-up menu, the
- space next to the "file" indicator will be blank. Once you save your
- pop-up menu, its file name will appear in this space.
-
-
-
-
- Page-23
- --------------------------------
- 10.Multiple Menus and Macros
- --------------------------------
- You can have as many menus and macros in a single pop-up menu file as
- your memory permits. Only 12 at a time can be displayed in the Menu
- List and Macro List areas.
-
- To scroll through the list of available menus or macros, highlight the
- arrows on either side of the "Menu List" or "Macro List"headings and
- click the left button on your Mouse.
-
- -----------------------------------------
- 11. Running your Mouse Menu
- -----------------------------------------
- Make sure you have saved your pop-up menu defore existing the ARMAKE
- program. Select the "SAVE function in the File Management Area,
- then select "QUIT" to leave the program.
-
- At the drive prompt, type:
-
- C:ARMENU (Name of pop-up menu file)
- <RETURN>
-
- Make sure you leave a space between the ARMENU command and the
- name of your file.
-
- Your pop-up menu is now resident in memory. Call up as you desig-
- nated in the ARMAKE program, for instance, by clicking the left button.
-
-
- >> NOTE
-
- You do not have to be in the software program to call your pop-up
- menu. Because the pop-up menu is memory resident,it can appear
- wherever you are. You must be very careful not to inbvoke it
- accidentally when you are trying to do something else.
-
- Page-24
-
- 11.1 Removing the Pop-Up Menu from Memory
-
-
- Type:
-
-
- C:ARMENU <Return>
-
- Do not include any file name after the ARMENU command.
-
-
- 11.2 Activating Another Pop-Up Menu
-
- Only one pop-up menu can be resident in memory at any one time. To
- replace one pop-up menu with another, type:
-
- C:ARMENU (Name of new pop-up menu) <Return>
-
- >> NOTE
-
- You do not have removed the first pop-up menu from memory.
- The second one automatically displaces the first.
-
- Page-25
- =========================
- Designing a Pop-Up Menu
- =========================
-
- The following is an illustrate of the Menu Maker Porgram
- ARMAKE see Chapter 4- as applied to a PS/2, using the AMOUSE
- PE2 POP_UP MENU as an example.
-
- Before proceeding make sure of the following:
-
- 1.The directory and drive in which PE2.EXE & PR2.PRO are stored
- (here A:\).
- 2.The directory in which ARMAKE is saved (here A:\).
- 3.The directory in which ARMENU is saved (here is A:\).
- 4.Create a EDITAGM.BAT file in the same directry so as to be able to
- edit the AMOUSE POP_UP MENU.
-
- Type the following:
-
- COPY CON: EDITAGM.BAT <ENTER>
- ARMAKE <ENTER>
- ARMENU %1 <ENTER>
- <CTRL> Z <ENTER>
-
- Page-26
-
- 5.Before editing your PE2 AMOUSE POP_UP MENU call up your
- PE2.PRO program. Type:
-
- A:PE2
-
- Open PE2 and call up EDIT PE2.PRO in the command box. Edit
- PE2.PRO and change the line DEF C-X as follows:
-
- DEF C-X= [CC] [BL] [EE]
- SAVE PE2.PRO
-
- **** STEP 1:
- Put MOUSE DRIVER DISK into A and type:
-
- A:AMOUSE
-
- This will load the mouse driver.After acknowledgement has been
- shown type:
-
- A:ARMAKE
-
- This will start ARMAKE POP-UP MENU's editing program
-
- Page-27
-
-
-
- The explanation of buttons:
-
- The white square appearing in certain position on the screen means an
- option.
-
- Left button :to give up or to return to the former option
-
-
-
- (....)means an option.
-
- "......"inputs commands (through keyboard)
-
-
- **** STEP 2: File names
-
- 2_1.When you want to exit your own MENU DATA:select(FILE)
- (LOAD)"file_name".
-
- 2_2.When a new MENU DATA is to be created,start from STEP 3;
- File_name is in STEP 9 and input again.
-
-
- **** STEP 3: Creating a MENULIST
-
- 3_1.ARMOUSE MENU structure of PE2 (see Fig_2_0)ABOUT THE
- MENU LIST data of PE2((see Fig_2_1).
-
- 3_2.select (MENU LIST)->(ADD)-> "PE2 MAIN MENU" (MENU NAME)
-
- select (MENU LIST)->(ADD)-> "PE2 EDIT MAIN MENU"(MENU NAME)
-
- select (MENU LIST)->(ADD)-> "PE2 MLOCK MENU" (MENU NAME)
-
- select (MENU LIST)->(ADD)->"PE2 MOVE MENU" (MENU NAME)
-
- select (MENU LIST)->(ADD)->"PE2 INFO MENU" (MENU NAME)
-
- Page-28
-
-
- **** STEP 4: MENU color and position and MENU function names
-
- 4-1.Define a positionn and color:
-
- select (PE2 MAIN M)->(ATTR).
-
- select (X_LOC:XX)->"65"
-
- select (Y_LOC:XX)->"1"
-
- select (VIDEO:XX)->"7"(When a color monitor is used,the display
- colors can be changed by typing the approprite command)
-
- 4-2.Function name and definitions:
-
- An option is required to quit MENU in every MENU ((for example,
- QUIT MENU)and thus an OPTION NAME "QUIT MENU" has to be
- set up.No definition will be made in MODIFY.
-
- 4-3.Creating an OPTION NAME.
-
- select the next line of PE2 MAIN M->((ADD)->"QUIT MENU"
-
- re_select(QUIT MENU)->(ADD|)->"EXIT TO DOS"
-
- re_select(EXIT TO DOS)->(ADD |)->"DEF.Lt EDIT"
-
- re_select(DEFLT-> EDIT)->(ADD |)->"DEFLt BLOCK
-
- re_selecft(DEFLT->BLOCK)->(ADD |)->"DEFLt MOVE"
-
- re-select[DEF Lt->MOVE]-->[ADD|]-->"CHANGE DISK"
-
- re-select[CHANGE DISK]-->[ADD|]-->"FIND FILE"
-
-
- Page-29
-
- 4-4 MODIFY MACRO
-
- select[NEXT TO DOS]-->[MODEIFY] ->[Modify Macro]-->"^[DOS]"
-
- (^x will shown on the screen when Ctrl + X is entered, and then
- directly enter [DOS])
- select [DEF.Lt -->EDIT]-->[MODIFY]->[Follow Action]->[MENU]
- ->[PE2 EDIT M]->[Modify Mouse state]->[Lt_BUTN]->[MENU]->
- PE2 EDIT M]
- select [DEF.Lt -->BLOCK]-->[MODIFY]->[Follow Action]->[MENU]
- ->[PE2 BLOCK]->[Modify Mouse state]->[Lt_BUTN]->[MENU]->
- PE2 BLOCK]
- select [DEF.Lt -->MOVE]-->[MODIFY]->[Follow Action]->[MENU]
- ->[PE2 MOVE M]->[Modify Mouse state]->[Lt_BUTN]->[MENU]->
- PE2 MOVE M]
- select [CHANGE DISK]-->[MODIFY]-->[Modify Macro]->"^X[CR]"
- select [FIND FILE(S)]-->[MODIFY]-->[Modify Macro]->"^X[DIR][CR]"
- (^X will show on the screen when CtrL + X is entered followed
- immediatedly by a carriage return [CR],type ENTER,and [CR] will
- appear.)
-
-
-
- Page-30
-
- **** STEP 5:
- NO Set up PE2 EDIT MENU by doing STEP 4 referring to Fig 2-1
-
- NO Set up PE2 BLOCK MENU by doing STEP 4 referring to Fig 2-1
-
- NO Set up PE2 MOVE MENU by doing STEP 4 referring to Fig 2-1
-
- NO Set up PE2 INFO MENU by doing STEP 4 referring to Fig 2-1
-
- **** STEP 6: Set up MACRO LIST
-
- 6-1.MACRO LIST data of PE2
- [UP]-->"[UP]"
- [DOWN]-->"[DOWN]"
- [LEFT]-->"[LEFT]"
- [RIGHT]-->"[RIGHT]"
- [ESC]-->"[ESC]"
- [ENTER]-->"[CR]"
- 6-2.The four actions [UP],[DOWN],[RIGHT],[left],need no defini-tion
- at all because they are predetermined.
-
- select[MACRO LIST]->[ADD]->"ESC"
- select[MACRO LIST]->[ADD]->"enter"
-
- Page-31
-
- **** STEP 7: MACRO LIST defintitions:
- 7-1 select[ESC]->Modify]->[ESC]
- [ESC]will appear in the screen when the ESC key is pressed
- select [ENTER]->[Modify]->[CR]
- [CR]will appear in the screen when the ENTER key is pressed
-
- **** STEP 8: Pre-Defined Action definitions.
-
- select[Lt_BUTN:]->[MENU]->[PE2 MAIN M]
- select[Rt_BUTN:]->[MACRO]->[ENTER]
- select[Mt_BUTN:]->[MACRO]->[ESC]
-
- **** STEP 9: Save MENU data
- select[FILE]->[SAVE]->[PE2]
- Use another name( for example,PEII)because POP-UP MENU of PE2
- has been used by us in this example.
-
- **** STEP 10: Quit editing ARMAKE
- select[FILE]->[QUIT]
-
- Page-32
-
- PE2 MAIN MENU PE2 EDIT MENU
- ------------- -------------
- EXIT MENU EXIT MENU
- EXIT TO DOS CHANGE CHAR
- DEF.Lt-->EDIT FIND CHAR
- DEF.Lt-->BLOCK ERASE LINE
- DEF.Lt-->MOVE ERASE TO END
- CHENGE DISK ADD NEW LINE
- FIND FILES(S) JOIN LINE
- RENAME FILE SPLIT LINE
- SPLIT SCREEN UNDO
- CHANGE WINDOW TO INFO MENU
- ZOOM WINDOW TO MOVE MENU
- EDIT CURSOR FILE TO BLOCK MENU
- CHENGE EDIT FILE TO MAIN MENU
- QUIT SCREEN FILE
- SAVE SCREEN FILE
- EDIT MOUSE MENU
-
- PE2 BLOCK MENU
- ---------------
- EXIT MENU
- MARK BLOCK
- MARK CHAR
- MARK LINR
- UNMARK
- COPY MARK
- MOVE MARK
- REPLACE MARK
- DELETE MARK
- FILL MARK
- TO EDIT MENU
- TO MAIN MENU
-
-
- PE2 MOVE MENU PE2 INFO MENU
- ------------- -------------
- EXIT MENU EXIT MENU
- FIND CHAR ?ABBREV
- CURSOR TO TOP ?COMPERSS
- CURSOR TO BOTTOM ?CHAR
- CURSOR TO HOME ?DISK SPACE
- CURSOR TO END ?MARGINS
- PAGE UP ?MEMORY
- PAGE DOWN ?TABEXPAND
- TO MAIN MENU ?TAB
- ?PE2.PRO
-
-
- Page-33
- PE2 MAIN MENU MODIFY DEFINE MACRO
- ------------- --------------------
- EXIT MENU
- EXIT TO DOS ^X[DOS]
- DEF.Lt->EDIT FOLLOW ACTION:PE2 EDIT MENU,STATE DEF.Lt_Butn:MENIU
- DEF.Lt->BLOCK FOLLOW ACTION:PE2 BLOCK MENU,STATE Lt_Butn:MENIU
- DEF.Lt->MOVE FOLLOW ACTION:PE2 MOVE MENU,STATE Lt_Butn:MENIU
- CHENGE DISK ^X[cd]
- FINDE FILE(S) ^X[DIR][CR]
- RENAME FILE ^XRENAME
- SPLTM SCREEN ^X[SS]
- CHENGE WINDOW ^X[nW][CR]
- ZOOM WINDOW ^X[ZW][CR]
- EDIT WINDOW |F10
- CHENGE EDIT FILE ^X[EDIT][CR]
- QUIT SCREEN FILE ^X[QUIT][CR]
- SAVE SCREEN FILE ^X[SAVE][CR]
- EDIT MOUSE MENU ^X[DOS]EDITAMG PE2
-
-
-
- PE2 EDIT MENU MODIFY DEFINE MACRO
- ------------- -------------------
- EXIT MENU
- CHENGE CHAR ^Xc/
- FIND CHAR ^XL/
- ERASE FINE ~L~D
- ERASE TO END F6
- ADD NEW LINE F9
- JOIN LINE ~J
- SPLIT LINE ~S
- UNDO |F4
- TO INFO MENU FOLLOW ACTION :PE2 INFO MENU
- TO MOVE MENU FOLLOW ACTION :PE2 MOVE MENU
- TO BLOCK MENU FOLLOW ACTION :PE2 BLOCK MENU
- TO MAIN MENU FOLLOW ACTION :PE2 MAIN MENU
-
-
-
-
- Page-34
-
- PE2 BLOCK MENU MODIFY DEFINE MACRO
- -------------- -------------------
- EXIT MENU
- MARK BLOCK ~B
- MARK CHAR ~C
- MARK LINR ~L
- UNMARK LINR ~U
- COPY MARK ~Z
- MOVE MARK ~M
- REPLACE MARK ~O
- DELETE MARK ~D
- FILL MARK ~F
- TO EDIT MENU FOLLOW ACTION :PE2 EDIT MENU
- TO MAIN MENU FOLLOW ACTION :PE2 MAIN MENU
-
-
-
- PE2 MOVE MENU MODIFY DEFINE MACRO
- ------------- -------------------
- EXIT MENU
- FIND CHAR ~L/
- CURSOR TO TOP ~X[TOP][CR]
- CURSOR TO BOTTOM ~X[BOTTOM]
- CURSOR TO HOME [HOME]
- CURSOR TO END [END]
- PAGE UP [PGUP]
- PAGE DOWN [PGDN]
- TO MAIN MENU FOLLOW ACTION :PE2 MAIN MENU
-
-
- Page-35
-