home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / WordProcessors / BK-WW6E3.DMS / in.adf / Archive / WwRexx.lha / Wordworth_Tips < prev   
Encoding:
Text File  |  1996-06-05  |  5.4 KB  |  203 lines

  1. /*    Wordworth_Tips
  2.  
  3.         Displays tips on Wordworth.
  4.  
  5.         Digita ARexx Script for Wordworth 5
  6.         Copyright ©1996, Digita International Ltd.
  7.         
  8.         Created: 31 May 1996
  9.         Author:  MJ
  10. */
  11.  
  12.  
  13. OPTIONS RESULTS
  14.  
  15.  
  16. /* The Tip Text */
  17. NumTips = 40
  18.  
  19. Tip1  = "You can import TurboCalc Spreedsheets"
  20. Tip1b = "by choosing 'Place Table' (Object menu)."
  21.  
  22. Tip2  = "If you hold down the Control key when drawing"
  23. Tip2b = "lines it keeps them horizontal or vertical."
  24.  
  25. Tip3  = "Never play leap-frog with a unicorn."
  26. Tip3b = ""
  27.  
  28. Tip4  = "You can get help on a menu command by"
  29. Tip4b = "highlighting it and pressing the Help key."
  30.  
  31. Tip5  = "You can increase/decrease the size of selected"
  32. Tip5b = "text by pressing Ctrl and comma or full-stop."
  33.  
  34. Tip6  = "You can print help topics by choosing"
  35. Tip6b = "Print from the help Project menu."
  36.  
  37. Tip7  = "You can move or copy text by dragging and dropping."
  38. Tip7b = "To copy the text, hold down the Control key as you drag."
  39.  
  40. Tip8  = "You can set the size of Sub/Superscript and SmallCaps text"
  41. Tip8b = "in the 'Document-Options' requester (Format menu)."
  42.  
  43. Tip9  = "You can sort paragraphs alphabetically by"
  44. Tip9b = "selecting them and choosing Sort (Tools menu)."
  45.  
  46. Tip10  = "You can use AutoCorrect to automatically"
  47. Tip10b = "correct common typing mistakes you make."
  48.  
  49. Tip11  = "You can quickly open one of the last documents you worked on"
  50. Tip11b = "by choosing it from the Open Recent sub-menu (Project menu)."
  51.  
  52. Tip12  = "You can quickly copy the format of a paragraph to others"
  53. Tip12b = "using the Fast Format pipette icon in the ruler tools."
  54.  
  55. Tip13  = "You can lock objects onto the page to stop them"
  56. Tip13b = "from accidentally being moved or re-sized."
  57.  
  58. Tip14  = "You can quickly replace text"
  59. Tip14b = "by selecting it and typing."
  60.  
  61. Tip15  = "You can store commonly used"
  62. Tip15b = "phrases in the Librarian."
  63.  
  64. Tip16  = "If you are bored, you can play a puzzle"
  65. Tip16b = "game by choosing Playtime (Tools menu)."
  66.  
  67. Tip17  = "You can change the icons which appear"
  68. Tip17b = "on the toolbar in the Toolbar Settings."
  69.  
  70. Tip18  = "It is quicker and easier to use keyboard shortcuts."
  71. Tip18b = "Choose Shortcuts (Help menu) for a list of them."
  72.  
  73. Tip19  = "You can find out how many words are in the"
  74. Tip19b = "document by choosing Statistics (Tools menu)."
  75.  
  76. Tip20  = "You can edit a Style Sheet by holding down Alt"
  77. Tip20b = "and double-clicking it in the Styles palette."
  78.  
  79. Tip21  = "You can edit a document while it is being printed by selecting"
  80. Tip21b = "the 'Background Printing' option in the Print requester."
  81.  
  82. Tip22  = "You can print sideways on paper by selecting the"
  83. Tip22b = "'Landscape' option on the Document Format requester."
  84.  
  85. Tip23  = "You can close a requester by pressing ESC."
  86. Tip23b = ""
  87.  
  88. Tip24  = "You should never dive into murky waters."
  89. Tip24b = ""
  90.  
  91. Tip25  = "You can show paragraph marks, tabs, spaces and other"
  92. Tip25b = "hidden codes by choosing 'Show Codes' (View menu)."
  93.  
  94. Tip26  = "You can select a word by double-clicking"
  95. Tip26b = "it, and a line by triple-clicking it."
  96.  
  97. Tip27  = "You can change the measurement"
  98. Tip27b = "unit in the View settings."
  99.  
  100. Tip28  = "You can add or remove words from the"
  101. Tip28b = "user dictionary in the Spell settings."
  102.  
  103. Tip29  = "You can save time by creating templates"
  104. Tip29b = "for commonly used types of documents."
  105.  
  106. Tip30  = "You can use AutoCorrect to expand abbreviations"
  107. Tip30b = "such as 'asap' for 'as soon as possible'."
  108.  
  109. Tip31  = "You can delete files by choosing Open (Project menu),"
  110. Tip31b = "selecting the file and choosing Delete (Control menu)."
  111.  
  112. Tip32  = "Pressing Left-Amiga and 'N' brings"
  113. Tip32b = "the Workbench screen to the front."
  114.  
  115. Tip33  = "Pressing Left-Amiga and 'M'"
  116. Tip33b = "cycles through the screens."
  117.  
  118. Tip34  = "It's never too late to learn to play the piano."
  119. Tip34b = ""
  120.  
  121. Tip35  = "You can insert a tab character in a"
  122. Tip35b = "table cell by pressing CTRL+TAB."
  123.  
  124. Tip36  = "Wordworth will create backup copies of documents"
  125. Tip36b = "if you turn this option on in the File Settings."
  126.  
  127. Tip37  = "Sofia is the capital of Bulgaria."
  128. Tip37b = ""
  129.  
  130. Tip38  = "You can draw boxes, circles and lines directly"
  131. Tip38b = "on the page using Wordworth's Drawing Tools."
  132.  
  133. Tip39  = "Look in the Help sections 'How do I?' and 'Troubleshooting'"
  134. Tip39b = "if you have a problem, the answer may be in there!"
  135.  
  136. Tip40  = "You can type any point size into the font size gadget."
  137. Tip40b = ""
  138.  
  139.  
  140. /* Main Program */
  141.  
  142. Num = Random(1,NumTips)
  143. Tip = "Tip" || Num
  144.  
  145. START:
  146. WizardReq TITLE "Wordworth Tips (" Num "/" NumTips ")" LABEL "Did you know?..." LABEL "" LABEL Value(Tip) LABEL Value(Tip || "b") BUTTON "-1" "_Done" BUTTON 2 "_Find..." Button 3 "_Another..."
  147.  
  148. If Result = -1 THEN
  149.     Exit
  150.  
  151. If Result = 3 THEN DO
  152.     PrevNum = Num
  153.     Do Until Num ~= PrevNum
  154.         Num = Random(1,NumTips)
  155.     END
  156.     Tip = "Tip" || Num
  157.     Signal START
  158. END
  159.  
  160. WizardReq TITLE "Wordworth Tips (" Num "/" NumTips ")" LABEL "Enter a word relating to the" LABEL "subject you wish a tip on." TEXTBOX 1 "_Word:" BUTTON 1 "_Find" BUTTON "-1" "_Cancel"
  161. If Result = -1 THEN
  162.     Signal START
  163.  
  164. Wizard_GetTextBox 1
  165. FindText = Result
  166. FindText = Upper(FindText)
  167.  
  168. If Num = NumTips THEN
  169.     Num = 0
  170.  
  171. Num = Num + 1
  172.  
  173. OldNum = Num
  174.  
  175. Finished = 0
  176.  
  177. Do Until Finished = 1
  178.     Tip = "Tip" || Num
  179.     TipText = Value(Tip) || " " || Value(Tip || "b")
  180.  
  181.     TipText = Upper(TipText)
  182.  
  183.     Found = Find(TipText, FindText)
  184.     If Found ~= 0 THEN
  185.         Break
  186.  
  187.     Found = Find(TipText2, FindText)
  188.     If Found ~= 0 THEN
  189.         Break
  190.  
  191.     If Num = NumTips THEN
  192.         Num = 0
  193.  
  194.     Num = Num + 1
  195.  
  196.     If Num = OldNum THEN DO
  197.         RequestNotify PROMPT "No match found!"
  198.         Finished = 1
  199.     END
  200. END
  201.  
  202.     Signal START
  203.