home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 24 / CD_ASCQ_24_0995.iso / dos / tools / aurora21 / helpuser.aml < prev    next >
Text File  |  1995-08-10  |  3KB  |  102 lines

  1. // -------------------------------------------------------------------
  2. // The Aurora Editor v2.1
  3. // Copyright 1993-1995 nuText Systems. All Rights Reserved Worldwide.
  4. //
  5. // User's Guide Topics Menu
  6. //
  7. // This macro displays a popup menu of User's Guide topics. Selecting
  8. // a topic will display the User's Guide and position to cursor to the
  9. // selected topic.
  10. // -------------------------------------------------------------------
  11.  
  12.   // compile time macros and function definitions
  13.   include bootpath "define.aml"
  14.  
  15.   // create an inline help topics buffer
  16.   databuf "helpuser"
  17.     "Bookmarks"
  18.     "Border Options"
  19.     "Character Sets"
  20.     "Clipboard"
  21.     "Colors"
  22.     "Command Line Options"
  23.     "Configuration"
  24.     "Confirmation Options"
  25.     "Creating and Loading Files"
  26.     "Cursor Commands"
  27.     "Default File Extensions"
  28.     "Desktop Options"
  29.     "Editing Options"
  30.     "File Commands"
  31.     "File Manager Commands"
  32.     "File Manager Options"
  33.     "File Manager Sorting"
  34.     "File Manager"
  35.     "File Name Completion"
  36.     "Folds"
  37.     "Getting Started"
  38.     "Global Settings"
  39.     "Installation"
  40.     "Key Definitions"
  41.     "Key Macros"
  42.     "Macro Commands"
  43.     "Marking Blocks"
  44.     "Marking Files"
  45.     "Menu Definitions"
  46.     "Menus"
  47.     "Modifying Text"
  48.     "Mouse Definitions"
  49.     "Mouse Options"
  50.     "Multi-Key Definitions"
  51.     "Open Options"
  52.     "OS Shell Commands"
  53.     "Panning the Screen"
  54.     "Performance Tips"
  55.     "Print Options"
  56.     "Printing"
  57.     "Prompt History"
  58.     "Prompts"
  59.     "Regular Expression Searching"
  60.     "Save Options"
  61.     "Saving and Discarding Files"
  62.     "Scrolling"
  63.     "Search and Replace"
  64.     "Status Line"
  65.     "Syntax Highlighting"
  66.     "System Options"
  67.     "System Requirements"
  68.     "Tool Bar"
  69.     "Translation Options"
  70.     "Translation"
  71.     "Undo and Redo"
  72.     "Video Modes"
  73.     "Video Options"
  74.     "Window Options"
  75.     "Window Settings"
  76.     "Window Styles"
  77.     "Windows"
  78.     "Word Processing Options"
  79.   end
  80.  
  81.   // name the buffer so the menu position can be remembered
  82.   setbufname "helpuser"
  83.  
  84.   // display the buffer in a popup menu and get the topic selected
  85.   topic = popup (getcurrbuf) "User's Guide Topics" 29
  86.  
  87.   // destroy the help topics buffer
  88.   destroybuf
  89.  
  90.   // display the selected topic
  91.   if topic then
  92.     open (getbootpath + "DOC\\" +
  93.             (if? topic [1:3] == "Reg" "REGEXP" "USER") + ".DOX")
  94.     // make read/only
  95.     bufferflag 'r'
  96.     gotopos 1 1
  97.     if find topic + '' then
  98.       send "onfound" (sizeof topic)
  99.     end
  100.   end
  101.  
  102.