home *** CD-ROM | disk | FTP | other *** search
/ The Electronic Whole Earth Catalog / ElectronicWholeEarthCatalog.img / CRAFT / card_42670.txt < prev    next >
Text File  |  1989-02-07  |  4KB  |  204 lines

  1. -- card: 42670 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 23900
  5. -- name: 
  6.  
  7.  
  8. -- part 28 (field)
  9. -- low flags: 81
  10. -- high flags: 0004
  11. -- rect: left=46 top=268 right=324 bottom=249
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 9
  17. -- style flags: 0
  18. -- line height: 12
  19. -- part name: xrefs
  20. ----- HyperTalk script -----
  21. -- cd fld "xrefs" script
  22. on mouseup
  23.   -- go to xref card depending which line was clicked on
  24.  
  25.   -- calculate which line
  26.   -- doesn't work if word-wrap occurred
  27.   put 1 + (the clickV - the top of target) div the textHeight of target into clickedLine
  28.   if line clickedLine of target is not empty then
  29.     put line clickedLine of field "xrefAccs" into targAcc
  30.     put line clickedLine of field "xrefDest" into targDestID
  31.  
  32.     if targDestID is not empty then
  33.       set cursor to busy
  34.       lookup targDestID, "zoom open"
  35.     else if targAcc is not empty then
  36.       set cursor to busy
  37.       lookup targAcc, "zoom open"
  38.     end if
  39.   end if
  40. end mouseup
  41.  
  42.  
  43.  
  44.  
  45. -- part 29 (field)
  46. -- low flags: 81
  47. -- high flags: 0004
  48. -- rect: left=246 top=268 right=324 bottom=447
  49. -- title width / last selected line: 0
  50. -- icon id / first selected line: 0 / 0
  51. -- text alignment: 0
  52. -- font id: 3
  53. -- text size: 9
  54. -- style flags: 0
  55. -- line height: 12
  56. -- part name: xrefs2
  57. ----- HyperTalk script -----
  58. -- cd fld "xrefs2" script
  59. on mouseup
  60.   -- go to xref card depending which line was clicked on
  61.  
  62.   -- calculaate which line
  63.   -- doesn't work if word-wrap occurred
  64.   put 1 + (the clickV - the top of target) div the textHeight of target into clickedLine
  65.   if line clickedLine of target is not empty then
  66.     put line clickedLine of field "xrefAccs2" into targAcc
  67.     put line clickedLine of field "xrefDest2" into targDestID
  68.  
  69.     if targDestID is not empty then
  70.       set cursor to busy
  71.       lookup targDestID, "zoom open"
  72.     else if targAcc is not empty then
  73.       set cursor to busy
  74.       lookup targAcc, "zoom open"
  75.     end if
  76.   end if
  77. end mouseup
  78.  
  79.  
  80.  
  81.  
  82. -- part 30 (field)
  83. -- low flags: 81
  84. -- high flags: 0002
  85. -- rect: left=159 top=260 right=277 bottom=333
  86. -- title width / last selected line: 0
  87. -- icon id / first selected line: 0 / 0
  88. -- text alignment: 0
  89. -- font id: 3
  90. -- text size: 12
  91. -- style flags: 256
  92. -- line height: 16
  93. -- part name: xrefHeading
  94.  
  95.  
  96. -- part 109 (field)
  97. -- low flags: 01
  98. -- high flags: 0004
  99. -- rect: left=46 top=64 right=97 bottom=240
  100. -- title width / last selected line: 0
  101. -- icon id / first selected line: 0 / 0
  102. -- text alignment: 0
  103. -- font id: 3
  104. -- text size: 10
  105. -- style flags: 0
  106. -- line height: 13
  107. -- part name: iMap
  108. ----- HyperTalk script -----
  109. on mouseUp
  110.   lookup "card id 38940", "iris open"
  111. end mouseUp
  112.  
  113.  
  114. -- part 110 (field)
  115. -- low flags: 01
  116. -- high flags: 0004
  117. -- rect: left=46 top=103 right=136 bottom=240
  118. -- title width / last selected line: 0
  119. -- icon id / first selected line: 0 / 0
  120. -- text alignment: 0
  121. -- font id: 3
  122. -- text size: 10
  123. -- style flags: 0
  124. -- line height: 13
  125. -- part name: iMap
  126. ----- HyperTalk script -----
  127. on mouseUp
  128.   lookup "card id 40014", "iris open"
  129. end mouseUp
  130.  
  131.  
  132. -- part 111 (field)
  133. -- low flags: 01
  134. -- high flags: 0004
  135. -- rect: left=46 top=142 right=175 bottom=240
  136. -- title width / last selected line: 0
  137. -- icon id / first selected line: 0 / 0
  138. -- text alignment: 0
  139. -- font id: 3
  140. -- text size: 10
  141. -- style flags: 0
  142. -- line height: 13
  143. -- part name: iMap
  144. ----- HyperTalk script -----
  145. on mouseUp
  146.   lookup "card id 41130", "iris open"
  147. end mouseUp
  148.  
  149.  
  150. -- part contents for background part 6
  151. ----- text -----
  152. Item Map
  153.  
  154. -- part contents for background part 1
  155. ----- text -----
  156. Powertools
  157.  
  158. -- part contents for background part 7
  159. ----- text -----
  160. 03022506
  161.  
  162. -- part contents for background part 11
  163. ----- text -----
  164. Menu
  165.  
  166. -- part contents for card part 30
  167. ----- text -----
  168. ≈∏ Cross References ≈∏
  169.  
  170. -- part contents for background part 16
  171. ----- text -----
  172. ‚Ä¢ WHOLE EARTH
  173.  ‚Ä¢ CRAFT
  174.   ‚Ä¢ TOOLS
  175.  
  176. -- part contents for card part 109
  177. ----- text -----
  178. Shopsmith
  179.  
  180. -- part contents for card part 110
  181. ----- text -----
  182. Ryobi 10" Planer
  183.  
  184. -- part contents for card part 111
  185. ----- text -----
  186. Cutawl
  187.  
  188. -- part contents for background part 20
  189. ----- text -----
  190. stack "WHOLE EARTH"
  191. stack "CRAFT"
  192. card id 33900
  193.  
  194. -- part contents for background part 17
  195. ----- text -----
  196. card id 33900
  197.  
  198. -- part contents for background part 18
  199. ----- text -----
  200. card id 42400
  201.  
  202. -- part contents for background part 19
  203. ----- text -----
  204. card id 44164