# This file allows any command to be sent out via the User Menu. # This allows you to actually name the macros that you use all the time. # # This file is intended to be used not for those macros used on a regular # basis and will still allow you to use the regular macros 0-9 for a # quick macro. # # Use this file as a template. Several menu levels can be built in # so that many menus can be used. # # --> There are a few things you MUST do in order for this to work: <-- # 1) You must assign a PERIPHERAL device in the Assign Manager as follows: # DEVICE "macro" (without the quote marks) # MODEL "macro" (without the quote marks) # # 2) The macro specified in this specfile # i.e. the part in quotes on the line: # ITEM 1 { "test" COMMANDS { ( MACRO "test" ) } } # must reside in the currently loaded macro directory (/sys/macro/xxxx). # (to view a list of the macro directories, press MACRO, SAVE) # # In the file manager, it should look like this: # /sys/ # macro/ # MacroDirectoryName/ # test.macro # Once this has been done, any new macros or commands must be saved to disk, # and this specfile must be modified to add the new macro to the # desired User Menu and button. # # You can also issue ANY command on the Axial in this way. # I caution you to be careful, though: # "just because you CAN doesn't mean you SHOULD." # For commands to be sent, you can use the designation "CurDev" for # whatever is highlighted in the workspace, specifically choose some # device (use the name used in the DEVICE column of the Assign Mgr.) # or just some general Axial command (to do a Menu Data, perhaps). # In this manner, you can send a command or string of commands right from # the User Menu without having to use the whole macro procedure # described above. You decide. # # Enjoy! # John Henkel (vhs@csi.com) MENU USR1 { ITEM 0 { "FIRST" COMMANDS { ( SUB_MENU "FIRST" ) } } ITEM 1 { "SECND" COMMANDS { ( SUB_MENU "SECND" ) } } ITEM 2 { "THIRD" COMMANDS { ( SUB_MENU "THIRD" ) } } ITEM 3 { "FORTH" COMMANDS { ( SUB_MENU "FORTH" ) } } ITEM 4 { "FIFTH" COMMANDS { ( SUB_MENU "FIFTH" ) } } ITEM 5 { "SIXTH" COMMANDS { ( SUB_MENU "SIXTH" ) } } } MENU FIRST { ITEM 0 { "Trim10" COMMANDS { ( MACRO "Trim10" ) }} ITEM 1 { "Trim20" COMMANDS { ( MACRO "Trim20" ) }} ITEM 2 { "V-Only" COMMANDS { ( TOGGLE_CH 268435457 ) }} ITEM 3 { "A1Only" COMMANDS { ( TOGGLE_CH 268435712 ) }} ITEM 4 { "A2Only" COMMANDS { ( TOGGLE_CH 268435968 ) }} ITEM 5 { "MnuDta" COMMANDS { ( LAMP_SEL_FUNC 4 ) ( MAIN_MENU "TBC" ) ( SAVE_PERIPHERAL 0 ) ( MAIN_MENU "NONE" ) }} } MENU SECND { ITEM 0 { "All+30" COMMANDS { ( MACRO "All30" ) }} ITEM 1 { "Out+30" COMMANDS { ( MACRO "Out30" ) }} ITEM 5 { "Rewind" COMMANDS { ( DEV_CMD "CurDev.Rewind" ) }} } DEVICE { MODEL Macro }