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

  1. -- card: 40506 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 23900
  5. -- name: 
  6.  
  7.  
  8. -- part 11 (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 12 (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 13 (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 41 (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 159894", "iris open"
  111. end mouseUp
  112.  
  113.  
  114. -- part contents for background part 6
  115. ----- text -----
  116. Item Map
  117.  
  118. -- part contents for background part 1
  119. ----- text -----
  120. One Highly Evolved Toolbox
  121.  
  122. -- part contents for background part 7
  123. ----- text -----
  124. 03098108
  125.  
  126. -- part contents for background part 11
  127. ----- text -----
  128. Menu
  129.  
  130. -- part contents for card part 13
  131. ----- text -----
  132. ≈∏ Cross References ≈∏
  133.  
  134. -- part contents for background part 16
  135. ----- text -----
  136. ‚Ä¢ WHOLE EARTH
  137.  ‚Ä¢ CRAFT
  138.   ‚Ä¢ ONE HIGHLY EVOLVED TOOLBOX
  139.  
  140. -- part contents for card part 41
  141. ----- text -----
  142. ONE HIGHLY EVOLVED TOOLBOX
  143.  
  144. -- part contents for background part 20
  145. ----- text -----
  146. stack "WHOLE EARTH"
  147. stack "CRAFT"
  148. card id 36577
  149.  
  150. -- part contents for background part 17
  151. ----- text -----
  152. card id 36577
  153.  
  154. -- part contents for background part 18
  155. ----- text -----
  156. card id 40506
  157.  
  158. -- part contents for background part 19
  159. ----- text -----
  160. card id 40506