home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc1_2_x / debatech.sit / Home / card_3276.txt < prev    next >
Text File  |  1990-04-21  |  7KB  |  218 lines

  1. -- card: 3276 from stack: in
  2. -- bmap block id: 3405
  3. -- flags: 0000
  4. -- background id: 2676
  5. -- name: intro
  6. ----- HyperTalk script -----
  7. on openCard
  8.   hide card field info
  9. end openCard
  10.  
  11.  
  12.  
  13. -- part 1 (button)
  14. -- low flags: 00
  15. -- high flags: 2000
  16. -- rect: left=363 top=97 right=131 bottom=405
  17. -- title width / last selected line: 0
  18. -- icon id / first selected line: 14767 / 14767
  19. -- text alignment: 1
  20. -- font id: 0
  21. -- text size: 12
  22. -- style flags: 0
  23. -- line height: 16
  24. -- part name: info
  25. ----- HyperTalk script -----
  26. on mouseUp
  27.   show card field info
  28. end mouseUp
  29.  
  30.  
  31.  
  32. -- part 5 (button)
  33. -- low flags: 00
  34. -- high flags: 2004
  35. -- rect: left=466 top=301 right=337 bottom=506
  36. -- title width / last selected line: 0
  37. -- icon id / first selected line: 23078 / 23078
  38. -- text alignment: 1
  39. -- font id: 0
  40. -- text size: 12
  41. -- style flags: 0
  42. -- line height: 16
  43. -- part name: New Button
  44. ----- HyperTalk script -----
  45. on mouseUp
  46.   go to card id 3375 of stack "Debate Coach"
  47. end mouseUp
  48.  
  49.  
  50.  
  51.  
  52. -- part 10 (button)
  53. -- low flags: 00
  54. -- high flags: 2000
  55. -- rect: left=240 top=298 right=337 bottom=279
  56. -- title width / last selected line: 0
  57. -- icon id / first selected line: 2002 / 2002
  58. -- text alignment: 1
  59. -- font id: 0
  60. -- text size: 12
  61. -- style flags: 0
  62. -- line height: 16
  63. -- part name: New Button
  64. ----- HyperTalk script -----
  65. on mouseUp
  66.   go to card id 3060 of stack "Debate Coach"
  67. end mouseUp
  68.  
  69.  
  70.  
  71.  
  72. -- part 13 (field)
  73. -- low flags: 81
  74. -- high flags: 0007
  75. -- rect: left=21 top=28 right=307 bottom=491
  76. -- title width / last selected line: 0
  77. -- icon id / first selected line: 0 / 0
  78. -- text alignment: 0
  79. -- font id: 3
  80. -- text size: 12
  81. -- style flags: 0
  82. -- line height: 16
  83. -- part name: installInstr
  84. ----- HyperTalk script -----
  85. on mouseUp
  86.   answer "Install manually or automatically?" with "Auto" or "Manual" or "Cancel"
  87.   put it into response
  88.   if response is "Auto" then
  89.     answer "Really? Have you read the warning?" with "Yes" or "Cancel"
  90.     if it is "Cancel" then
  91.       exit to Hypercard
  92.     else
  93.       answer "OK, you've been warned. (Last chance!)" with "OK" or "Cancel"
  94.       if it is "Cancel" then exit to HyperCard
  95.       answer "Please locate your Home card." with "OK"
  96.       get standardFile("get:Home","STAK","WILD")
  97.       put it into homeLoc
  98.       put the long name of this stack into installerLoc
  99.       delete first word of installerLoc
  100.       delete first character of installerLoc
  101.       delete last character of installerLoc
  102.       lock screen
  103.       push card
  104.       go to stack homeLoc
  105.       getResources installerLoc,"XFCN,ICON,DLOG,DITL,XCMD"
  106.       pop card
  107.       unlock screen
  108.     end if
  109.   else
  110.     if response is "Manual" then
  111.       rescopy
  112.     end if
  113.   end if
  114.   hide me
  115. end mouseUp
  116.  
  117.  
  118.  
  119. -- part 14 (field)
  120. -- low flags: 01
  121. -- high flags: 0000
  122. -- rect: left=356 top=155 right=168 bottom=420
  123. -- title width / last selected line: 0
  124. -- icon id / first selected line: 0 / 0
  125. -- text alignment: 0
  126. -- font id: 3
  127. -- text size: 9
  128. -- style flags: 0
  129. -- line height: 12
  130. -- part name: version
  131.  
  132.  
  133. -- part 15 (button)
  134. -- low flags: 00
  135. -- high flags: 2000
  136. -- rect: left=194 top=302 right=330 bottom=238
  137. -- title width / last selected line: 0
  138. -- icon id / first selected line: 1016 / 1016
  139. -- text alignment: 1
  140. -- font id: 0
  141. -- text size: 12
  142. -- style flags: 0
  143. -- line height: 16
  144. -- part name: New Button
  145. ----- HyperTalk script -----
  146. on mouseUp
  147.   go previous card
  148. end mouseUp
  149.  
  150.  
  151.  
  152. -- part 16 (button)
  153. -- low flags: 00
  154. -- high flags: 2000
  155. -- rect: left=281 top=302 right=330 bottom=325
  156. -- title width / last selected line: 0
  157. -- icon id / first selected line: 32650 / 32650
  158. -- text alignment: 1
  159. -- font id: 0
  160. -- text size: 12
  161. -- style flags: 0
  162. -- line height: 16
  163. -- part name: New Button
  164. ----- HyperTalk script -----
  165. on mouseUp
  166.   go next card
  167. end mouseUp
  168.  
  169.  
  170.  
  171. -- part 2 (field)
  172. -- low flags: 81
  173. -- high flags: 0007
  174. -- rect: left=67 top=162 right=337 bottom=448
  175. -- title width / last selected line: 0
  176. -- icon id / first selected line: 0 / 0
  177. -- text alignment: 0
  178. -- font id: 2
  179. -- text size: 12
  180. -- style flags: 0
  181. -- line height: 16
  182. -- part name: info
  183. ----- HyperTalk script -----
  184. on mouseUp
  185.   hide card field info
  186. end mouseUp
  187.  
  188.  
  189.  
  190. -- part contents for card part 2
  191. ----- text -----
  192. This is the Home stack for the Debate Coach stacks.  It contains common resources and scripts used by the rest of the Debate Coach stacks, and the setup cards and scripts from the original HyperCard Home stack.  Unless you want to change any of those, you probably ever need to come to this stack.
  193.  
  194. Please check this same field on the Debate Coach main card for more information about these stacks and about the copyrights.
  195.  
  196. -- part contents for card part 13
  197. ----- text -----
  198. WARNING!!!  Read this entire message before running the Installer!
  199.  
  200. The installer uses Steve Maller's ResCopier XCMD.  It works just like the font/DA mover.  In just a moment, you will see the ResCopier screen.  On the right will be a list of the resources in this stack.  On the left will be an empty field.  Click the open button below this field, and open your Home stack.  Then copy all of the resources, except those numbered 10000, from this stack to your Home stack.  That's it!
  201.  
  202. If you should accidentally copy the ResCopy resources into your Home stack don't worry, it won't hurt anything.
  203.  
  204. Alternatively, if you know how to use ResEdit, it may be faster to use it to copy the resources to your Home stack.
  205.  
  206. Or, you can let this program do it automatically.  WARNING!!!  This method doesn't check for conflicts with other resources in your Home stack.  Any that are already there could be erased!  (The Home stack doesn't come with any resources, so if you haven't added any yourself, you probably don't have any in it.)  Of course, you can always make a copy of your Home stack, run the installation on it, and if everything's OK replace your Home stack with the copy.
  207.  
  208. You can check for resources in your home stack by typing "ResCopy" into the message box.  You've been warned, so if you use this method, I won't be responsible for any lost information.  Again, installing on a copy of your Home stack is perfectly safe.
  209.  
  210. I have tested the auto installer on stacks without resources, and on stacks with no conflicting resources.  It works just fine, so don't let all of the warnings scare you off.  (A conflict occurs when two resources have either the same type and name, or the same type and ID.  This can also be checked using "ResCopy.")
  211.  
  212. Click anywhere in this field to begin installation.
  213.  
  214. When finished, click on the "ResCopy" box and choose "Return to Stack."  You're then ready to use Debate Coach!
  215.  
  216. -- part contents for card part 14
  217. ----- text -----
  218. version 1.0