home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 24 / CD_ASCQ_24_0995.iso / dos / prg / alabv10 / keys.mac < prev    next >
Text File  |  1995-07-02  |  7KB  |  245 lines

  1. ;-------------------------------------------------------------------------
  2. ;   KEYS MACRO FILE FOR ASSEMBLER LABORATORY (C) KURT INGE GR0NBECH
  3. ;-------------------------------------------------------------------------
  4. ;   In this file you set up the keys for various functions in ALab,
  5. ;   and you can create macros for keys (have multiple functions on
  6. ;   one key). Keycode names and function names are NOT case-sensitive.
  7. ;
  8. ;   NB!
  9. ;       ■ You have to start ALab with the '/K' switch after you have
  10. ;         changed something in this file, in order to have the changes
  11. ;         take effect.
  12. ;       ■ EVERY function have to be defined here (after each other),
  13. ;         except 'block comment/uncomment',
  14. ;         even if they don't have a shortcut key. This because it
  15. ;         spares the author for many valuable minutes of extra programming
  16. ;         :)
  17. ;       ■ A semicolon in first column starts a comment line
  18. ;       ■ The keycode name does not have to come at column 33, it only
  19. ;         has to be a blank between the function name and keycode name.
  20. ;
  21. ;-------------------------------------------------------------------------
  22. ;                            Valid keys
  23. ;═════════════════════════════════════════════════════════════════════════
  24. ;
  25. ;▌kbXXXX Alt-Letter Key Codes▐
  26. ;
  27. ; Constant    ║ Constant
  28. ;═════════════╬═══════════
  29. ; kbAltA      ║ kbAltN
  30. ; kbAltB      ║ kbAltO
  31. ; kbAltC      ║ kbAltP
  32. ; kbAltD      ║ kbAltQ
  33. ; kbAltE      ║ kbAltR
  34. ; kbAltF      ║ kbAltS
  35. ; kbAltG      ║ kbAltT
  36. ; kbAltH      ║ kbAltU
  37. ; kbAltI      ║ kbAltV
  38. ; kbAltJ      ║ kbAltW
  39. ; kbAltK      ║ kbAltX
  40. ; kbAltL      ║ kbAltY
  41. ; kbAltM      ║ kbAltZ
  42. ;
  43. ;
  44. ;▌kbXXXX Special Key Codes▐
  45. ;
  46. ; Constant    ║ Constant
  47. ;═════════════╬═══════════
  48. ; kbAltEqual  ║kbEnd
  49. ; kbAltMinus  ║kbEnter
  50. ; kbAltSpace  ║kbEsc
  51. ; kbBack      ║kbGrayMinus
  52. ; kbCtrlBack  ║kbHome
  53. ; kbCtrlDel   ║kbIns
  54. ; kbCtrlEnd   ║kbLeft
  55. ; kbCtrlEnter ║kbNoKey
  56. ; kbCtrlHome  ║kbPgDn
  57. ; kbCtrlIns   ║kbPgUp
  58. ; kbCtrlLeft  ║kbGrayPlus
  59. ; kbCtrlPgDn  ║kbRight
  60. ; kbCtrlPgUp  ║kbShiftDel
  61. ; kbCtrlPrtSc ║kbShiftIns
  62. ; kbCtrlRight ║kbShiftTab
  63. ; kbDel       ║kbTab
  64. ; kbDown      ║kbUp
  65. ;
  66. ;▌kbXXXX Alt-Number Key Codes▐
  67. ;
  68. ; Constant    ║ Constant
  69. ;═════════════╬═══════════
  70. ; kbAlt1      ║ kbAlt6
  71. ; kbAlt2      ║ kbAlt7
  72. ; kbAlt3      ║ kbAlt8
  73. ; kbAlt4      ║ kbAlt9
  74. ; kbAlt5      ║ kbAlt0
  75. ;
  76. ;▌kbXXXX Function Key Codes▐
  77. ;
  78. ; Constant    ║ Constant
  79. ;═════════════╬═══════════
  80. ; kbF1        ║ kbF6
  81. ; kbF2        ║ kbF7
  82. ; kbF3        ║ kbF8
  83. ; kbF4        ║ kbF9
  84. ; kbF5        ║ kbF10
  85. ;
  86. ;▌kbXXXX Shift-Function Key Codes▐
  87. ;
  88. ; Constant    ║ Constant
  89. ;═════════════╬═══════════
  90. ; kbShiftF1   ║ kbShiftF6
  91. ; kbShiftF2   ║ kbShiftF7
  92. ; kbShiftF3   ║ kbShiftF8
  93. ; kbShiftF4   ║ kbShiftF9
  94. ; kbShiftF5   ║ kbShiftF10
  95. ;
  96. ;▌kbXXXX Ctrl-Function Key Codes▐
  97. ;
  98. ; Constant    ║ Constant
  99. ;═════════════╬═══════════
  100. ; kbCtrlF1    ║ kbCtrlF6
  101. ; kbCtrlF2    ║ kbCtrlF7
  102. ; kbCtrlF3    ║ kbCtrlF8
  103. ; kbCtrlF4    ║ kbCtrlF9
  104. ; kbCtrlF5    ║ kbCtrlF10
  105. ;
  106. ;▌kbXXXX Alt-Function Key Codes▐
  107. ;
  108. ; Constant    ║ Constant
  109. ;═════════════╬═══════════
  110. ; kbAltF1     ║ kbAltF6
  111. ; kbAltF2     ║ kbAltF7
  112. ; kbAltF3     ║ kbAltF8
  113. ; kbAltF4     ║ kbAltF9
  114. ; kbAltF5     ║ kbAltF10
  115. ;
  116. ;═════════════════════════════════════════════════════════════════════════
  117.  
  118. ; File menu
  119. FileOpen                        kbF3
  120. FileNew                         kbShiftF8
  121. FileSave                        kbF2
  122. FileSaveas
  123. FileChangeDir
  124. FilePrint
  125. FileGetinfo
  126. FileDoscommand                  kbF7
  127. FileDosShell
  128. FileExit                        kbAltX
  129.  
  130. ; Edit menu
  131. EditUndo
  132. EditCut                         kbShiftDel
  133. EditCopy                        kbCtrlIns
  134. EditPaste                       kbShiftIns
  135. EditShowclipboard               kbCtrlF6
  136. EditClear                       kbCtrlDel
  137. EditRepeatKey
  138. EditExpandTabs
  139. EditCompressSpaces
  140.  
  141. ; Search menu
  142. SearchFind
  143. SearchReplace
  144. SearchAgain
  145. SearchGotoLine
  146.  
  147. ; Run menu
  148. RunRun                          kbCtrlF9
  149. RunRunDebug
  150. RunParameters
  151.  
  152. ; Assemble menu
  153. AssembleAssemble                kbAltF9
  154. AssembleMake
  155. AssembleLink                    kbF9
  156. AssembleBuild
  157. AssembleExetoCom                kbF8
  158.  
  159. ; Tools menu
  160. ToolsRunDebugger                kbCtrlF10
  161. ToolsRunProfiler
  162. ToolsAsciiTable
  163. ToolsCalculator
  164. ToolsProcWorkSheet              kbCtrlF1
  165. ToolsMacroWorkSheet             kbCtrlF2
  166. ToolsVarWorkSheet               kbCtrlF3
  167. ToolsHeuristicScan              kbCtrlF4
  168.  
  169. ; Project menu
  170. ProjectOpen
  171. ProjectSave
  172. ProjectClose
  173. ProjectAdditem
  174. ProjectDeleteitem
  175. ProjectLocalOptions
  176.  
  177. ; Options menu
  178. OptionsAssembler
  179. OptionsLinker
  180. OptionsDirectories
  181. OptionsEditor
  182. OptionsDebugging
  183. OptionsHeuristicScan
  184. OptionsMouse
  185. OptionsColors
  186. OptionsSaveConfig
  187. OptionsReadConfig
  188. OptionsSaveDesktop
  189. OptionsRetrieveDesktop
  190.  
  191. ; Window menu
  192. WindowTile
  193. WindowCascade
  194. WindowCloseAll
  195. WindowSizeMove                  kbCtrlF5
  196. WindowZoom                      kbF5
  197. WindowNext                      kbF6
  198. WindowPrevious                  kbShiftF6
  199. WindowClose                     kbAltF3
  200. WindowDosScreen                 kbAltF5
  201. WindowProject
  202.  
  203. ; Help menu
  204. HelpContents
  205. HelpIndex
  206. HelpTopicSearch                 kbShiftF1
  207. HelpOpcodes                     kbShiftF2
  208. HelpExtendedASCII               kbShiftF3
  209. HelpKeyCodes                    kbShiftF4
  210. HelpScanCodes                   kbShiftF5
  211.  
  212. ;═════════════════════════════════════════════════════════════════════════
  213. ; Here comes the key macros (multiple functions on one key)
  214. ;
  215. ; A little disappointment here I guess: It's a matter of just stuffing
  216. ; several keys in the keyboard buffer, so you first name one key and
  217. ; then one or several other keys which are to be stuffed in the
  218. ; keyboard buffer when you press the first key.
  219. ; I have not had the time to make the keyboard macros better.
  220. ; I have also almost never used macros in other editors, so you can
  221. ; say I actually don't know very much about them.
  222. ;
  223. ; ■ The keycode name must come in column 2, and then you can name
  224. ;   other keycode names one under another in column >= 3 under the
  225. ;   first keycode name.
  226. ; ■ Max number of key macros is 20
  227. ; ■ Max number of keycode names under each macro is 10
  228. ;
  229. ; Example:
  230. ; |1234567890---------------------------------------|
  231. ; |
  232. ; | kbAltQ
  233. ; |   kbF2
  234. ; |   kbF3
  235. ; |
  236. ; When you press Alt+Q here, the keys F2 and F3 are stuffed in the
  237. ; keyboard buffer so with the original setup you will first save the
  238. ; current file and then open another.
  239. ;═════════════════════════════════════════════════════════════════════════
  240.  
  241.  kbAltQ
  242.    kbF2
  243.    kbF3
  244.  
  245.