home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / SDE_300.ZIP / SAMPLE.DOC < prev    next >
Text File  |  1993-02-09  |  5KB  |  82 lines

  1.  
  2.     This file contains descriptions of the SDE internal macros found in
  3.     the SAMPLE.MAC file. To load these sample macros into your SDE
  4.     environment, save your current macro set by selecting the 'Export
  5.     macros' option, then select the 'Import macros' option, and enter the
  6.     name 'SAMPLE' when asked for an import file name.
  7.  
  8.     Any product names used are trademarks of their respective companies.
  9.  
  10. --------------------------------------------------------------------------
  11. a - Uses an AutoKey sequence to change the file mask to display all files
  12.     in the current directory.
  13. --------------------------------------------------------------------------
  14. b - Uses the @Write function combined with the REPEAT execution option to
  15.     write the name of every executable program (all .EXE's) on the current
  16.     volume to a file called EXELST.TXT in the root directory.
  17. --------------------------------------------------------------------------
  18. c - A simple front-end to the IBM C Set/2 compiler good for executing
  19.     compiles of small 'C' programs that do not require make files. The only 
  20.     option presented to the user asks whether debugging information is 
  21.     required.  
  22. --------------------------------------------------------------------------
  23. d - Executes the external macro DIRSTACK.XM which provides a directory
  24.     stack for SDE. The current directory can be pushed, the top directory
  25.     can be popped, or the stack can be viewed and a directory selected
  26.     for switching.
  27. --------------------------------------------------------------------------
  28. e - Loads Multi-Edit (the author's editor of choice) with the currently
  29.     hilited file. The CMD option is used since Multi-Edit is a DOS
  30.     program.
  31. --------------------------------------------------------------------------
  32. E - Prompts for a file to load into Multi-Edit. Useful for creating new
  33.     files or restoring the state in which Multi-Edit was exited.
  34. --------------------------------------------------------------------------
  35. f - Uses an autokey macro to hilite the specified file.
  36. --------------------------------------------------------------------------
  37. g - Prompts for an expression to pass to GREP2, a simple grep utility
  38.     included with SDE. GREP2 doesn't expand wildcards, but, thanks to
  39.     OS/2's long command-line limit, a large number of file names can be
  40.     passed via the @Tagged() macro function. The searched for expression
  41.     is kept for future searches.
  42. --------------------------------------------------------------------------
  43. h - Loads the hilited file into Hexedit, a hexidecimal file editor that
  44.     is included with SDE. Currently, SDE must be running for Hexedit to
  45.     run.
  46. --------------------------------------------------------------------------
  47. l - Executes the L2 file viewer utility (also from SANSoft) on tagged or
  48.     hilited files.
  49. --------------------------------------------------------------------------
  50. L - Executes the L2 utility on the entered file name(s) or masks.
  51. --------------------------------------------------------------------------
  52. m - Executes the external macro MASK.XM which provides a menu for the
  53.     various ways to specify the file mask for the current directory.
  54. --------------------------------------------------------------------------
  55. p - A simple way to print the hilited file; good for small files.
  56. --------------------------------------------------------------------------
  57. s - Executes the SESSIONS.XM external macro as a means to start a new
  58.     session type from within SDE.
  59. --------------------------------------------------------------------------
  60. t - Demonstrates the @Tag function by tagging all 'C' source code files in
  61.     the current directory having extensions of '.C' or '.H'.
  62. --------------------------------------------------------------------------
  63. u - Unzips all files in the hilited .ZIP file.
  64. --------------------------------------------------------------------------
  65. v - Allows you to view the names of files in the currently hilited .ZIP
  66.     file.
  67. --------------------------------------------------------------------------
  68. w - Allows you to assign the current directory to one of the macro keys
  69.     0 through 9 via an AutoKey sequence which automatically edits the
  70.     proper macro.
  71. --------------------------------------------------------------------------
  72. x - Uses the CMD exection option to execute the hilited file if it has an
  73.     extension of '.CMD' or '.EXE'.
  74. --------------------------------------------------------------------------
  75. z - Zips all tagged files into the specified .ZIP file.
  76. --------------------------------------------------------------------------
  77. Z - Executes the ZIP.XM external macro which front-ends the PKZIP and
  78.     PKUNZIP utilities (which to use is determined automatically by the
  79.     macro at run-time).
  80. --------------------------------------------------------------------------
  81.  
  82.