home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / TECLADO / PROKEY4.ZIP / WS.DOC < prev    next >
Encoding:
Text File  |  1985-05-12  |  6.5 KB  |  200 lines

  1.                       WordStar Starter Set
  2.  
  3. As you know, ProKey comes with a file of macros designed for use
  4. with WordStar.  That file is named WS.PRO.  
  5.  
  6. To learn how to use WS.PRO, we suggest that you follow these steps.  
  7.  
  8.   -  Print this file (WS.DOC) so you have a reference sheet
  9.      available while you're learning.  
  10.  
  11.   -  Print WS.PRO so that you can see how ProKey macros look
  12.      in a file.  
  13.  
  14.   -  Compare the descriptions in this file with the actual macros
  15.      in WS.PRO, to get an idea of how commands are combined to
  16.      perform specific tasks.  
  17.  
  18.   -  As you try out these macros, remember that they are oriented
  19.      toward the author's needs and way of thinking.  So they may
  20.      not be just right for you.  Once you understand how they work,
  21.      try your hand at customizing these, or creating new macros.  
  22.  
  23.  
  24. To use the macros in WS.PRO, follow these steps:  
  25.  
  26.   -  Install ProKey using PKLOAD.  
  27.  
  28.   -  Go to the DOS command prompt A>.
  29.  
  30.   -  Place a diskette containing PROKEY.COM and WS.PRO in the
  31.      A> drive.  
  32.  
  33.   -  Type:         prokey ws.pro/r
  34.  
  35.   -  Load Wordstar.  
  36.  
  37. Please refer to the Users Guide if you need help with any of
  38. these steps.  
  39.  
  40. ****************************************************************
  41.  
  42. Using ProKey to set block commands.  
  43.  
  44. WordStar recognizes that text bracketed by the block marks 
  45. <ctrlk><b> and <ctrlk><k> has some special significance.  
  46. These block marks are like quotation marks in that they identify
  47. which sentences or paragraphs should be treated as a unit.  
  48.  
  49. You must set block commands before you can instruct WordStar to
  50. move, copy, delete or otherwise process a section of text.  
  51.  
  52. The marks are normally set manually by positioning the cursor and 
  53. pressing  <ctrlk>b;  then re-positioning and  pressing  <ctrlk>k.  
  54. Using the following ProKey macros will save you time and keystrokes.  
  55.  
  56.    <altw>  will set marks around a word.  
  57.  
  58.    <altl>  will set marks at left and right of the current line.  
  59.  
  60.    <alts>  will set marks around the current sentence.  
  61.  
  62.    <altp>  will set marks around the current paragraph.  
  63.  
  64.    Note:  <altp> looks for a blank line before and after the
  65.    paragraph.  It won't work if they aren't there.  If you
  66.    make paragraphs in another format, you'll have to modify
  67.    <altp> accordingly.
  68.  
  69.  
  70. All you have to do is put the cursor anywhere in the word, 
  71. sentence or paragraph you want to mark, and type the keystroke 
  72. named above.  
  73.  
  74.  
  75. ****************************************************************
  76.  
  77. Other block-oriented commands:  
  78.  
  79. Once a region is marked,  you can use the following macros to
  80. move,  copy, and delete the text.  These macros are patterned
  81. after the WordStar commands, but they are more powerful because
  82. they perform several steps at once.  
  83.  
  84. <altc>
  85. Makes a copy of the marked text and positions it at the cursor.  
  86. This macro works similarly to the WordStar <ctrlk><c> command,
  87. but also justifies the destination paragraph within your margins,
  88. and hides the block marks.
  89.  
  90. <altv>
  91. Moves the marked text to wherever the cursor is located.  This
  92. works similarly to the WordStar <ctrlk><v> command, except <altv>
  93. justifies both the source and destination paragraphs and hides 
  94. the block marks.
  95.  
  96. <alty>
  97. Deletes the marked block of text.  This macro is similar to the
  98. WordStar command <ctrlk><y>, except the current paragraph is 
  99. justified within the margins.  
  100.  
  101. ****************************************************************
  102.  
  103. A wonderful macro if you do a lot of correspondence:  
  104.  
  105. <alte>
  106. Addresses an envelope for you, from the inside address of the
  107. letter you're currently editing.  Position an envelope in your
  108. printer,  place the cursor anywhere within the inside address,
  109. and type <alte>.  
  110.  
  111. ****************************************************************
  112.  
  113. Commands which control the "Active File":  
  114.  
  115. These next commands work together to facilitate working with 
  116. a particular file,  called the "active file".   You see, WS has a 
  117. bad habit of confusing the current active file with previous
  118. versions of that file.  These macros prevent that confusion.     
  119.  
  120. <altd>
  121. Loads a document file.  This macro is similar to WordStar's "d"
  122. command at the no-file menu, but in addition to loading the document
  123. file,  <altd> sets <f1> to the file's name, for later use.
  124.  
  125. <altn>
  126. Loads a non-document file.  This macro is the same as WordStar's 
  127. "n" command at the no-file menu, but in addition to loading the
  128. non-document file, <altn> sets <f1> to the file name, for later use.
  129.  
  130. <f1>
  131. The name of the active file, which was set at <altd> or <altn>.   
  132.  
  133. <f2>
  134. If  you run WS off RAM-disk,  but want to backup to diskette once 
  135. in a while,   this key does a save to both RAM-disk and diskette, 
  136. and returns you to your position in the text.  You must have loaded
  137. your file with <altd> or <altn> for this macro to work.
  138.  
  139. <altt>
  140. Types  (i.e.  prints)  the active file:   without  page  numbers, 
  141. pausing  between sheets.    This is great for letter writers  who 
  142. use separate sheets rather than fan-fold.  Also, you can count on 
  143. this command to print the active file,  not some past version  of 
  144. it -- as WS sometimes does.  Issue this command while you are 
  145. editing a document rather than at the no-file menu.  
  146.  
  147. *****************************************************************
  148.  
  149. Miscellaneous macros to make WordStar easier to use:
  150.  
  151. <alth>
  152. Marks a heading for boldface and underlining.  Simply type 
  153. <alth>...some text...<enter>.  (Look at this macro to see how
  154. it uses a variable field.)
  155.  
  156. <altq>
  157. Changes to the format for single-spaced, indented quotes when you 
  158. are in double-spaced documents.  Type <altq> at the end of the
  159. sentence preceeding the quote.  Use <altz> to end the quote, 
  160. and return to double spacing.
  161.  
  162. <altz>
  163. Ends  the  quote  started at <altq> above:  returning  to  normal 
  164. margins and double spacing.  Type <altz> at the end of the quote.  
  165.  
  166. <f9><letter> 
  167. Moves cursor quickly back to a nearby letter.
  168.  
  169. <f10><letter> 
  170. Moves cursor quickly forward to a nearby letter.
  171.  
  172. <CtrlLft> 
  173. Moves cursor left one full word.
  174.  
  175. <CtrlRgt> 
  176. Moves cursor right one full word.
  177.  
  178. <CtrlPgdn> 
  179. Moves cursor to end of file.
  180.  
  181. <CtrlPgup> 
  182. Moves cursor to beginning of file.
  183.  
  184. <home> 
  185. Moves cursor to left of line.
  186.  
  187. <CtrlHome> 
  188. Erases line to left of cursor.
  189.  
  190. <end> 
  191. Moves cursor to end of line.
  192.  
  193. <CtrlEnd> 
  194. Erases to end of line.
  195.  
  196. <bksp> 
  197. Redefines <bksp> key to do the same thing as the <del> key.
  198.  
  199. <CtrlBksp> 
  200. Delete the word to the cursor's left.