home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc1_2_x / macsunrs.sit / MacSUNRISE / card_8549.txt < prev    next >
Text File  |  1990-07-20  |  13KB  |  602 lines

  1. -- card: 8549 from stack: in
  2. -- bmap block id: 58123
  3. -- flags: 2000
  4. -- background id: 8392
  5. -- name: Druck Layout
  6. ----- HyperTalk script -----
  7. on opencard
  8. end opencard
  9.  
  10. on closecard
  11. end closecard
  12.  
  13.  
  14.  
  15. -- part 4 (button)
  16. -- low flags: 00
  17. -- high flags: 8004
  18. -- rect: left=396 top=41 right=111 bottom=486
  19. -- title width / last selected line: 0
  20. -- icon id / first selected line: 0 / 0
  21. -- text alignment: 1
  22. -- font id: 0
  23. -- text size: 12
  24. -- style flags: 0
  25. -- line height: 16
  26. -- part name: Zeichen
  27. ----- HyperTalk script -----
  28. on mouseUp
  29.   if the showPict of this card is true
  30.   then
  31.   if the visible of card btn id 16 is false
  32.   then
  33.   set the hilite of me to true
  34.   show card btn id 16
  35.   hide card btn id 7
  36. else
  37.   hide card btn id 16
  38.   show card btn id 7
  39.   set the hilite of me to false
  40. end if
  41. else
  42.   if the visible of card btn id 18 is false
  43.   then
  44.   set the hilite of me to true
  45.   show card btn id 18
  46.   hide card btn id 7
  47. else
  48.   hide card btn id 18
  49.   show card btn id 7
  50.   set the hilite of me to false
  51. end if
  52. end if
  53. end mouseUp
  54.  
  55.  
  56.  
  57. -- part 7 (button)
  58. -- low flags: 00
  59. -- high flags: 8004
  60. -- rect: left=302 top=41 right=111 bottom=391
  61. -- title width / last selected line: 0
  62. -- icon id / first selected line: 0 / 0
  63. -- text alignment: 1
  64. -- font id: 0
  65. -- text size: 12
  66. -- style flags: 0
  67. -- line height: 16
  68. -- part name: Strichfolge
  69. ----- HyperTalk script -----
  70. on mouseUp
  71.   if the showPict of this card is true
  72.   then
  73.   if the visible of card btn id 11 is false
  74.   then
  75.   set the hilite of me to true
  76.   show card btn id 11
  77.   hide card btn id 4
  78. else
  79.   hide card btn id 11
  80.   show card btn id 4
  81.   set the hilite of me to false
  82. end if
  83. else
  84.   if the visible of card btn id 17 is false
  85.   then
  86.   set the hilite of me to true
  87.   show card btn id 17
  88.   hide card btn id 4
  89. else
  90.   hide card btn id 17
  91.   show card btn id 4
  92.   set the hilite of me to false
  93. end if
  94. end if
  95. end mouseUp
  96.  
  97.  
  98.  
  99. -- part 8 (button)
  100. -- low flags: 00
  101. -- high flags: 8004
  102. -- rect: left=302 top=115 right=185 bottom=391
  103. -- title width / last selected line: 0
  104. -- icon id / first selected line: 0 / 0
  105. -- text alignment: 1
  106. -- font id: 0
  107. -- text size: 12
  108. -- style flags: 0
  109. -- line height: 16
  110. -- part name: Lesungen
  111. ----- HyperTalk script -----
  112. on mouseUp
  113.   if the showPict of this card is true
  114.   then
  115.   if the visible of card btn id 12 is false
  116.   then
  117.   set the hilite of me to true
  118.   show card btn id 12
  119.   hide card btn id 10
  120. else
  121.   hide card btn id 12
  122.   if the visible of card btn id 14 is false then show card btn id 10
  123.   set the hilite of me to false
  124. end if
  125. else
  126.   if the visible of card btn id 19 is false
  127.   then
  128.   set the hilite of me to true
  129.   show card btn id 19
  130.   hide card btn id 10
  131. else
  132.   hide card btn id 19
  133.   if the visible of card btn id 20 is false then show card btn id 10
  134.   set the hilite of me to false
  135. end if
  136. end if
  137. end mouseUp
  138.  
  139.  
  140.  
  141. -- part 9 (button)
  142. -- low flags: 00
  143. -- high flags: C004
  144. -- rect: left=396 top=115 right=185 bottom=486
  145. -- title width / last selected line: 0
  146. -- icon id / first selected line: 0 / 0
  147. -- text alignment: 1
  148. -- font id: 0
  149. -- text size: 12
  150. -- style flags: 0
  151. -- line height: 16
  152. -- part name: Bedeutungen
  153. ----- HyperTalk script -----
  154. on mouseUp
  155.   if the showPict of this card is true
  156.   then
  157.   if the visible of card btn id 14 is false
  158.   then
  159.   set the hilite of me to true
  160.   show card btn id 14
  161.   hide card btn id 10
  162. else
  163.   hide card btn id 14
  164.   if the visible of card btn id 12 is false then show card btn id 10
  165.   set the hilite of me to false
  166. end if
  167. else
  168.   if the visible of card btn id 20 is false
  169.   then
  170.   set the hilite of me to true
  171.   show card btn id 20
  172.   hide card btn id 10
  173. else
  174.   hide card btn id 20
  175.   if the visible of card btn id 19 is false then show card btn id 10
  176.   set the hilite of me to false
  177. end if
  178. end if
  179. end mouseUp
  180.  
  181.  
  182.  
  183. -- part 10 (button)
  184. -- low flags: 80
  185. -- high flags: 8004
  186. -- rect: left=302 top=189 right=259 bottom=486
  187. -- title width / last selected line: 0
  188. -- icon id / first selected line: 0 / 0
  189. -- text alignment: 1
  190. -- font id: 0
  191. -- text size: 12
  192. -- style flags: 0
  193. -- line height: 16
  194. -- part name: Komposita
  195. ----- HyperTalk script -----
  196. on mouseUp
  197.   if the showPict of this card is true
  198.   then
  199.   if the visible of card btn id 15 is false
  200.   then
  201.   set the hilite of me to true
  202.   show card btn id 15
  203.   hide card btn id 8
  204.   hide card btn id 9
  205. else
  206.   hide card btn id 15
  207.   show card btn id 8
  208.   show card btn id 9
  209.   set the hilite of me to false
  210. end if
  211. else
  212.   if the visible of card btn id 21 is false
  213.   then
  214.   set the hilite of me to true
  215.   show card btn id 21
  216.   hide card btn id 8
  217.   hide card btn id 9
  218. else
  219.   hide card btn id 21
  220.   show card btn id 8
  221.   show card btn id 9
  222.   set the hilite of me to false
  223. end if
  224. end if
  225. end mouseUp
  226.  
  227.  
  228.  
  229. -- part 11 (button)
  230. -- low flags: 80
  231. -- high flags: 8004
  232. -- rect: left=8 top=21 right=111 bottom=103
  233. -- title width / last selected line: 0
  234. -- icon id / first selected line: 0 / 0
  235. -- text alignment: 1
  236. -- font id: 0
  237. -- text size: 12
  238. -- style flags: 0
  239. -- line height: 16
  240. -- part name: Strichfolge
  241.  
  242.  
  243. -- part 12 (button)
  244. -- low flags: 00
  245. -- high flags: 8004
  246. -- rect: left=117 top=21 right=139 bottom=195
  247. -- title width / last selected line: 0
  248. -- icon id / first selected line: 0 / 0
  249. -- text alignment: 1
  250. -- font id: 0
  251. -- text size: 12
  252. -- style flags: 0
  253. -- line height: 16
  254. -- part name: Lesungen
  255.  
  256.  
  257. -- part 14 (button)
  258. -- low flags: 80
  259. -- high flags: 8004
  260. -- rect: left=199 top=21 right=139 bottom=277
  261. -- title width / last selected line: 0
  262. -- icon id / first selected line: 0 / 0
  263. -- text alignment: 1
  264. -- font id: 0
  265. -- text size: 12
  266. -- style flags: 0
  267. -- line height: 16
  268. -- part name: Bedeut.
  269.  
  270.  
  271. -- part 15 (button)
  272. -- low flags: 80
  273. -- high flags: 8004
  274. -- rect: left=117 top=30 right=139 bottom=277
  275. -- title width / last selected line: 0
  276. -- icon id / first selected line: 0 / 0
  277. -- text alignment: 1
  278. -- font id: 0
  279. -- text size: 12
  280. -- style flags: 0
  281. -- line height: 16
  282. -- part name: Komposita
  283.  
  284.  
  285. -- part 16 (button)
  286. -- low flags: 80
  287. -- high flags: 8004
  288. -- rect: left=8 top=21 right=111 bottom=103
  289. -- title width / last selected line: 0
  290. -- icon id / first selected line: 0 / 0
  291. -- text alignment: 1
  292. -- font id: 0
  293. -- text size: 12
  294. -- style flags: 0
  295. -- line height: 16
  296. -- part name: Zeichen
  297.  
  298.  
  299. -- part 17 (button)
  300. -- low flags: 80
  301. -- high flags: 8004
  302. -- rect: left=8 top=193 right=283 bottom=103
  303. -- title width / last selected line: 0
  304. -- icon id / first selected line: 0 / 0
  305. -- text alignment: 1
  306. -- font id: 0
  307. -- text size: 12
  308. -- style flags: 0
  309. -- line height: 16
  310. -- part name: Strichfolge
  311.  
  312.  
  313. -- part 18 (button)
  314. -- low flags: 80
  315. -- high flags: 8004
  316. -- rect: left=8 top=193 right=283 bottom=103
  317. -- title width / last selected line: 0
  318. -- icon id / first selected line: 0 / 0
  319. -- text alignment: 1
  320. -- font id: 0
  321. -- text size: 12
  322. -- style flags: 0
  323. -- line height: 16
  324. -- part name: Zeichen
  325.  
  326.  
  327. -- part 19 (button)
  328. -- low flags: 80
  329. -- high flags: 8004
  330. -- rect: left=117 top=193 right=311 bottom=195
  331. -- title width / last selected line: 0
  332. -- icon id / first selected line: 0 / 0
  333. -- text alignment: 1
  334. -- font id: 0
  335. -- text size: 12
  336. -- style flags: 0
  337. -- line height: 16
  338. -- part name: Lesungen
  339.  
  340.  
  341. -- part 20 (button)
  342. -- low flags: 00
  343. -- high flags: 8004
  344. -- rect: left=199 top=193 right=311 bottom=277
  345. -- title width / last selected line: 0
  346. -- icon id / first selected line: 0 / 0
  347. -- text alignment: 1
  348. -- font id: 0
  349. -- text size: 12
  350. -- style flags: 0
  351. -- line height: 16
  352. -- part name: Bedeut.
  353.  
  354.  
  355. -- part 21 (button)
  356. -- low flags: 80
  357. -- high flags: 8004
  358. -- rect: left=117 top=202 right=311 bottom=277
  359. -- title width / last selected line: 0
  360. -- icon id / first selected line: 0 / 0
  361. -- text alignment: 1
  362. -- font id: 0
  363. -- text size: 12
  364. -- style flags: 0
  365. -- line height: 16
  366. -- part name: Komposita
  367.  
  368.  
  369. -- part 26 (button)
  370. -- low flags: 00
  371. -- high flags: 8002
  372. -- rect: left=302 top=7 right=29 bottom=485
  373. -- title width / last selected line: 0
  374. -- icon id / first selected line: 0 / 0
  375. -- text alignment: 1
  376. -- font id: 0
  377. -- text size: 12
  378. -- style flags: 0
  379. -- line height: 16
  380. -- part name: Rƒckseite
  381. ----- HyperTalk script -----
  382. on mouseUp
  383.   set the hilite of me to true
  384.   if the short name of me is "R├╝ckseite"
  385.   then
  386.   click at the loc of card btn id 23
  387. else
  388.   click at the loc of card btn id 25
  389. end if
  390. set the hilite of me to false
  391. end mouseUp
  392.  
  393.  
  394.  
  395. -- part 27 (button)
  396. -- low flags: 00
  397. -- high flags: 2003
  398. -- rect: left=449 top=292 right=340 bottom=501
  399. -- title width / last selected line: 0
  400. -- icon id / first selected line: 14953 / 14953
  401. -- text alignment: 1
  402. -- font id: 0
  403. -- text size: 12
  404. -- style flags: 0
  405. -- line height: 16
  406. -- part name: Zurƒck
  407. ----- HyperTalk script -----
  408. on mouseUp
  409.   global VKomp
  410.   global VLes
  411.   global VBed
  412.   global VZei
  413.   global VStr
  414.   global HKomp
  415.   global HLes
  416.   global HBed
  417.   global HZei
  418.   global HStr
  419.   put the visible of card btn id 11 into VStr
  420.   put the visible of card btn id 12 into VLes
  421.   put the visible of card btn id 14 into VBed
  422.   put the visible of card btn id 15 into VKomp
  423.   put the visible of card btn id 16 into Vzei
  424.   put the visible of card btn id 17 into HStr
  425.   put the visible of card btn id 19 into HLes
  426.   put the visible of card btn id 20 into HBed
  427.   put the visible of card btn id 21 into HKomp
  428.   put the visible of card btn id 18 into Hzei
  429.   pop card
  430.   put Vstr&return&VLes&return&VBed&return&VKomp&return&VZei&return& HStr&return&HLes&return&HBed&return&HKomp&return&HZei&return into card field "Layout"
  431. end mouseUp
  432.  
  433.  
  434.  
  435. -- part 23 (button)
  436. -- low flags: 00
  437. -- high flags: 0000
  438. -- rect: left=5 top=1 right=167 bottom=279
  439. -- title width / last selected line: 0
  440. -- icon id / first selected line: 0 / 0
  441. -- text alignment: 1
  442. -- font id: 0
  443. -- text size: 12
  444. -- style flags: 0
  445. -- line height: 16
  446. -- part name: 
  447. ----- HyperTalk script -----
  448. on mouseUp
  449.   show card pict
  450.   lock screen
  451.   if the visible of card btn id 11 is true
  452.   then
  453.   set the hilite of card btn id 7 to true
  454.   set the hilite of card btn id 4 to false
  455.   hide card btn id 4
  456.   show card btn id 7
  457. else
  458.   if the visible of card btn id 16 is true
  459.   then
  460.   set the hilite of card btn id 7 to false
  461.   set the hilite of card btn id 4 to true
  462.   hide card btn id 7
  463.   show card btn id 4
  464. else
  465.   set the hilite of card btn id 7 to false
  466.   set the hilite of card btn id 4 to false
  467.   show card btn id 7
  468.   show card btn id 4
  469. end if
  470. end if
  471. if the visible of card btn id 12 is false and the visible of card btn id 14 is false and the visible of card btn id 15 is false
  472. then
  473. set the hilite of card btn id 8 to false
  474. set the hilite of card btn id 9 to false
  475. set the hilite of card btn id 10 to false
  476. show card btn id 8
  477. show card btn id 9
  478. show card btn id 10
  479. else
  480.   if the visible of card btn id 12 is true
  481.   then
  482.   set the hilite of card btn id 8 to true
  483.   show card btn id 8
  484.   set the hilite of card btn id 10 to false
  485.   hide card btn id 10
  486. else
  487.   set the hilite of card btn id 8 to false
  488. end if
  489. if the visible of card btn id 14 is true
  490. then
  491. set the hilite of card btn id 9 to true
  492. show card btn id 9
  493. set the hilite of card btn id 10 to false
  494. hide card btn id 10
  495. else
  496.   set the hilite of card btn id 9 to false
  497. end if
  498. if the visible of card btn id 15 is true
  499. then
  500. set the hilite of card btn id 8 to false
  501. hide card btn id 8
  502. set the hilite of card btn id 9 to false
  503. hide card btn id 9
  504. set the hilite of card btn id 10 to true
  505. show card btn id 10
  506. end if
  507. end if
  508. if the visible of card btn id 10 is false
  509. then
  510. set the visible of card btn id 8 to true
  511. set the visible of card btn id 9 to true
  512. end if
  513. set the name of card btn id 26 to "Vorderseite"
  514. unlock screen
  515. end mouseUp
  516.  
  517.  
  518.  
  519. -- part 25 (button)
  520. -- low flags: 00
  521. -- high flags: 0000
  522. -- rect: left=5 top=173 right=339 bottom=279
  523. -- title width / last selected line: 0
  524. -- icon id / first selected line: 0 / 0
  525. -- text alignment: 1
  526. -- font id: 0
  527. -- text size: 12
  528. -- style flags: 0
  529. -- line height: 16
  530. -- part name: 
  531. ----- HyperTalk script -----
  532. on mouseUp
  533.   hide card pict
  534.   lock screen
  535.   if the visible of card btn id 17 is true
  536.   then
  537.   set the hilite of card btn id 7 to true
  538.   set the hilite of card btn id 4 to false
  539.   hide card btn id 4
  540.   show card btn id 7
  541. else
  542.   if the visible of card btn id 18 is true
  543.   then
  544.   set the hilite of card btn id 7 to false
  545.   set the hilite of card btn id 4 to true
  546.   hide card btn id 7
  547.   show card btn id 4
  548. else
  549.   set the hilite of card btn id 7 to false
  550.   set the hilite of card btn id 4 to false
  551.   show card btn id 7
  552.   show card btn id 4
  553. end if
  554. end if
  555. if the visible of card btn id 19 is false and the visible of card btn id 20 is false and the visible of card btn id 21 is false
  556. then
  557. set the hilite of card btn id 8 to false
  558. set the hilite of card btn id 9 to false
  559. set the hilite of card btn id 10 to false
  560. show card btn id 8
  561. show card btn id 9
  562. show card btn id 10
  563. else
  564.   if the visible of card btn id 19 is true
  565.   then
  566.   set the hilite of card btn id 8 to true
  567.   show card btn id 8
  568.   set the hilite of card btn id 10 to false
  569.   hide card btn id 10
  570. else
  571.   set the hilite of card btn id 8 to false
  572. end if
  573. if the visible of card btn id 20 is true
  574. then
  575. set the hilite of card btn id 9 to true
  576. show card btn id 9
  577. set the hilite of card btn id 10 to false
  578. hide card btn id 10
  579. else
  580.   set the hilite of card btn id 9 to false
  581. end if
  582. if the visible of card btn id 21 is true
  583. then
  584. set the hilite of card btn id 8 to false
  585. hide card btn id 8
  586. set the hilite of card btn id 9 to false
  587. hide card btn id 9
  588. set the hilite of card btn id 10 to true
  589. show card btn id 10
  590. end if
  591. end if
  592. if the visible of card btn id 10 is false
  593. then
  594. set the visible of card btn id 8 to true
  595. set the visible of card btn id 9 to true
  596. end if
  597. set the name of card btn id 26 to "R├╝ckseite"
  598. unlock screen
  599. end mouseUp
  600.  
  601.  
  602.