home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc1_2_x / macsunrs.sit / MacSUNRISE.Komposita / background_2746.txt < prev    next >
Text File  |  1990-07-20  |  29KB  |  1,327 lines

  1. -- background: 2746 from stack: in.Komposita
  2. -- bmap block id: 2242
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: Kanji.Komposita
  6. ----- HyperTalk script -----
  7. on idle
  8.   if the mouseloc is not within the rect of bkgnd field "notiz zu Komposita"
  9.   then
  10.   global Startzeit
  11.   put the seconds into Jetztzeit
  12.   put (Jetztzeit - Startzeit) into Arbeitszeit
  13.   put trunc (Arbeitszeit / 3600) into Stunde
  14.   if Stunde < 10 then put "0"&Stunde into Stunde
  15.   put Arbeitszeit - Stunde*3600 into Arbeitszeit
  16.   put trunc (Arbeitszeit / 60) into Minute
  17.   if Minute < 10 then put "0"&Minute into Minute
  18.   set the name of bkgnd btn id 148 to Stunde&":"&Minute
  19.   set the name of bkgnd btn id 147 to char 1 to 5 of the short name of bkgnd btn id 147
  20.   pass idle
  21. end if
  22. end idle
  23.  
  24.  
  25.  
  26.  
  27. -- part 8 (button)
  28. -- low flags: 00
  29. -- high flags: 0003
  30. -- rect: left=145 top=209 right=275 bottom=178
  31. -- title width / last selected line: 0
  32. -- icon id / first selected line: 22308 / 22308
  33. -- text alignment: 1
  34. -- font id: 0
  35. -- text size: 12
  36. -- style flags: 0
  37. -- line height: 16
  38. -- part name: nèchstes Kanji
  39. ----- HyperTalk script -----
  40. on mousedown
  41.   send mousestilldown to target
  42. end mousedown
  43.  
  44. on mousestilldown
  45.   set the hilite of me to true
  46.   if the hilite of bkgnd btn Zufall is false
  47.   then
  48.   if the hilite of bkgnd Btn Auswahl is false
  49.   then
  50.   get bkgnd field kk
  51.   if it+1 > the short name of bkgnd btn id 123
  52.   then
  53.   find word the short name of bkgnd btn id 122 in bkgnd field kk
  54. else
  55.   go to next card of this background
  56. end if
  57. else
  58.   lock screen
  59.   global MaxAuswahl
  60.   global AktAuswahl
  61.   if AktAuswahl+1 > Maxauswahl
  62.   then
  63.   put 1 into Aktauswahl
  64. else
  65.   put Aktauswahl +1 into Aktauswahl
  66. end if
  67. go card 2
  68. get line Aktauswahl of bkgnd field GemerkteZeichen
  69. go card 4+ word 1 of it of MacSunriSE.Komposita
  70. end if
  71. else
  72.   lock screen
  73.   if the hilite of bkgnd btn Auswahl is false
  74.   then
  75.   get the short name of bkgnd btn id 122
  76.   put it into unteregrenze
  77.   get the short name of bkgnd btn id 123
  78.   put it into oberegrenze
  79.   put oberegrenze - unteregrenze into AnzahlKarten
  80.   get bkgnd field kk
  81.   put it into AlteKarte
  82.   put it into NeueKarte
  83.   repeat until (ALteKarte <> NeueKarte) and ( the result is not "not found")
  84.     put Random (oberegrenze - unteregrenze+1)+unteregrenze -1 into NeueKarte
  85.     go card 4+ NeueKarte of MacSunriSE.Komposita
  86.   end repeat
  87. else
  88.   lock screen
  89.   global Maxauswahl
  90.   get bkgnd field kk
  91.   put it into AlteKarte
  92.   go card 2
  93.   put it into NeueKarte
  94.   repeat until NeueKarte <> AlteKarte
  95.     get line Random (Maxauswahl) of bkgnd field GemerkteZeichen
  96.     put word 1 of it into NeueKarte
  97.   end repeat
  98.   go card 4+ NeueKarte of MacSunriSE.Komposita
  99. end if
  100. end if
  101. click at 200,200
  102. unlock screen
  103. set the hilite of me to false
  104. end mousestilldown
  105.  
  106.  
  107.  
  108. -- part 9 (button)
  109. -- low flags: 00
  110. -- high flags: 0003
  111. -- rect: left=12 top=209 right=275 bottom=46
  112. -- title width / last selected line: 0
  113. -- icon id / first selected line: 19381 / 19381
  114. -- text alignment: 1
  115. -- font id: 0
  116. -- text size: 12
  117. -- style flags: 0
  118. -- line height: 16
  119. -- part name: vorheriges Kanji
  120. ----- HyperTalk script -----
  121. on mousedown
  122.   send mousestilldown to target
  123. end mousedown
  124.  
  125. on mousestilldown
  126.   set the hilite of me to true
  127.   if the hilite of bkgnd btn Zufall is false
  128.   then
  129.   if the hilite of bkgnd Btn Auswahl is false
  130.   then
  131.   get bkgnd field kk
  132.   if it-1 <the short name of bkgnd btn id 122
  133.   then
  134.   find word the short name of bkgnd btn id 123 in bkgnd field kk
  135. else
  136.   go to prev card of this background
  137. end if
  138. else
  139.   lock screen
  140.   global MaxAuswahl
  141.   global AktAuswahl
  142.   if AktAuswahl-1 < 1
  143.   then
  144.   put Maxauswahl into Aktauswahl
  145. else
  146.   put Aktauswahl -1 into Aktauswahl
  147. end if
  148. go card 2
  149. get line Aktauswahl of bkgnd field GemerkteZeichen
  150. go card 4+ word one of it of MacSunriSE.Komposita
  151. click at 200,200
  152. end if
  153. else
  154.   lock screen
  155.   if the hilite of bkgnd btn Auswahl is false
  156.   then
  157.   get the short name of bkgnd btn id 122
  158.   put it into unteregrenze
  159.   get the short name of bkgnd btn id 123
  160.   put it into oberegrenze
  161.   put oberegrenze - unteregrenze into AnzahlKarten
  162.   get bkgnd field kk
  163.   put it into AlteKarte
  164.   put it into NeueKarte
  165.   repeat until (ALteKarte <> NeueKarte) and ( the result is not "not found")
  166.     put Random (oberegrenze - unteregrenze+1)+unteregrenze -1 into NeueKarte
  167.     go Card 4+ NeueKarte of MacSunriSE.Komposita
  168.   end repeat
  169. else
  170.   lock screen
  171.   global Maxauswahl
  172.   get bkgnd field kk
  173.   put it into AlteKarte
  174.   go card 2
  175.   put it into NeueKarte
  176.   repeat until NeueKarte <> AlteKarte
  177.     get line Random (Maxauswahl) of bkgnd field GemerkteZeichen
  178.     put it into NeueKarte
  179.   end repeat
  180.   go card 4+ NeueKarte of MacSunriSE.Komposita
  181. end if
  182. end if
  183. click at 200,200
  184. unlock screen
  185. set the hilite of me to false
  186. end mousestilldown
  187.  
  188.  
  189. -- part 15 (field)
  190. -- low flags: 81
  191. -- high flags: 0002
  192. -- rect: left=94 top=251 right=268 bottom=143
  193. -- title width / last selected line: 0
  194. -- icon id / first selected line: 0 / 0
  195. -- text alignment: 1
  196. -- font id: 3
  197. -- text size: 12
  198. -- style flags: 0
  199. -- line height: 16
  200. -- part name: JIS
  201. ----- HyperTalk script -----
  202. on mouseup
  203.   global SprungJ
  204.   ask "Go to card number (JIS) " with SprungJ
  205.   if it is not empty
  206.   then
  207.   put it into SprungJ
  208.   find word it in bkgnd field JIS
  209. end if
  210. click at 200,200
  211. end mouseup
  212.  
  213.  
  214.  
  215. -- part 22 (field)
  216. -- low flags: 01
  217. -- high flags: 0002
  218. -- rect: left=94 top=251 right=268 bottom=143
  219. -- title width / last selected line: 0
  220. -- icon id / first selected line: 0 / 0
  221. -- text alignment: 1
  222. -- font id: 0
  223. -- text size: 12
  224. -- style flags: 0
  225. -- line height: 16
  226. -- part name: KK
  227. ----- HyperTalk script -----
  228. on mouseup
  229.   global Sprung
  230.   ask "Go to card number (K&K) " with Sprung
  231.   if it is not empty
  232.   then
  233.   put it into Sprung
  234.   go card 4+ sprung
  235. end if
  236. click at 200,200
  237. end mouseup
  238.  
  239.  
  240.  
  241. -- part 34 (button)
  242. -- low flags: 00
  243. -- high flags: 0000
  244. -- rect: left=75 top=279 right=322 bottom=120
  245. -- title width / last selected line: 0
  246. -- icon id / first selected line: 8538 / 8538
  247. -- text alignment: 1
  248. -- font id: 0
  249. -- text size: 12
  250. -- style flags: 0
  251. -- line height: 16
  252. -- part name: Suchen
  253. ----- HyperTalk script -----
  254. on mouseUp
  255.   set the hilite of me to true
  256.   set cursor to Lupe
  257.   if the ShiftKey is down
  258.   then
  259.   global findwort
  260.   global suchbegriff
  261.   if suchbegriff is not empty
  262.   then
  263.   lock screen
  264.   go next card of this background
  265.   if Suchbegriff= "Lesung"
  266.   then
  267.   put 0 into Z├ñhler
  268.   repeat until Z├ñhler=5
  269.     put Z├ñhler +1 into Z├ñhler
  270.     put Suchbegriff&Z├ñhler into Searchword
  271.     find word findwort in bkgnd field Searchword
  272.     if the result is not "not found"
  273.     then
  274.     unlock screen
  275.     exit mouseup
  276.   end if
  277. end repeat
  278. else
  279.   find word findwort in field Suchbegriff
  280.   unlock screen
  281. end if
  282. end if
  283. set the hilite of me to false
  284. else
  285.   lock screen
  286.   if the visible of bkgnd btn "selected characters" is true then click at the loc of bkgnd btn Umschalter
  287.   push card
  288.   get the short name of bkgnd btn id 147
  289.   put it into Start
  290.   get the short name of bkgnd btn id 148
  291.   put it into Zeit
  292.   put the short date into datum
  293.   set the hilite of me to false
  294.   go card Suchkarte
  295.   set the name of  btn id 17 to start
  296.   set the name of  btn id 18 to zeit
  297.   set the name of  btn id 19 to datum
  298.   unlock screen
  299. end if
  300. end mouseUp
  301.  
  302.  
  303.  
  304. -- part 47 (button)
  305. -- low flags: 80
  306. -- high flags: C002
  307. -- rect: left=187 top=323 right=341 bottom=243
  308. -- title width / last selected line: 0
  309. -- icon id / first selected line: 0 / 0
  310. -- text alignment: 1
  311. -- font id: 0
  312. -- text size: 12
  313. -- style flags: 0
  314. -- line height: 16
  315. -- part name: Abfrage
  316. ----- HyperTalk script -----
  317. on mouseup
  318.   if the hilite of me is true
  319.   then
  320.   set the hilite of me to false
  321. else
  322.   set the hilite of me to true
  323. end if
  324. end mouseup
  325.  
  326.  
  327.  
  328. -- part 48 (button)
  329. -- low flags: 00
  330. -- high flags: 2000
  331. -- rect: left=1 top=324 right=340 bottom=69
  332. -- title width / last selected line: 0
  333. -- icon id / first selected line: 0 / 0
  334. -- text alignment: 1
  335. -- font id: 0
  336. -- text size: 12
  337. -- style flags: 0
  338. -- line height: 16
  339. -- part name: Schriftart
  340. ----- HyperTalk script -----
  341. on mouseUp
  342.   Answer "change to which script ?" with "Hiragana" or "Katakana" or "Cancel"
  343.   if it is not "Cancel"
  344.   then
  345.   push card
  346.   put the short name of bkgnd btn id 147 into Startzeit
  347.   if it is "Hiragana"
  348.   then
  349.   go MacSunriSE.Hiragana
  350. else
  351.   go MacSunriSE.Katakana
  352. end if
  353. set the name of bkgnd btn id 136 to startzeit
  354. end if
  355. end mouseUp
  356.  
  357.  
  358.  
  359. -- part 49 (button)
  360. -- low flags: 00
  361. -- high flags: 0000
  362. -- rect: left=129 top=279 right=321 bottom=171
  363. -- title width / last selected line: 0
  364. -- icon id / first selected line: 32670 / 32670
  365. -- text alignment: 1
  366. -- font id: 0
  367. -- text size: 12
  368. -- style flags: 0
  369. -- line height: 16
  370. -- part name: Blèttern
  371. ----- HyperTalk script -----
  372. on mouseUp
  373.   set cursor to Bl├ñttern
  374.   set the hilite of me to true
  375.   repeat until the mouse is down
  376.     lock screen
  377.     if the hilite of bkgnd btn Zufall is false
  378.     then
  379.     if the hilite of bkgnd Btn Auswahl is false
  380.     then
  381.     get bkgnd field kk
  382.     if it+1 > the short name of bkgnd btn id 123
  383.     then
  384.     find word the short name of bkgnd btn id 122 in bkgnd field kk
  385.   else
  386.     go to next card of this background
  387.   end if
  388. else
  389.   global MaxAuswahl
  390.   global AktAuswahl
  391.   if AktAuswahl+1 > Maxauswahl
  392.   then
  393.   put 1 into Aktauswahl
  394. else
  395.   put Aktauswahl +1 into Aktauswahl
  396. end if
  397. go card 2
  398. get line Aktauswahl of bkgnd field GemerkteZeichen
  399. go card 4+ word one of it of MacSunriSE.Komposita
  400. end if
  401. else
  402.   if the hilite of bkgnd btn Auswahl is false
  403.   then
  404.   get the short name of bkgnd btn id 122
  405.   put it into unteregrenze
  406.   get the short name of bkgnd btn id 123
  407.   put it into oberegrenze
  408.   put oberegrenze - unteregrenze into AnzahlKarten
  409.   get bkgnd field kk
  410.   put it into AlteKarte
  411.   put it into NeueKarte
  412.   repeat until (ALteKarte <> NeueKarte) and ( the result is not "not found")
  413.     put Random (oberegrenze - unteregrenze+1)+unteregrenze -1 into NeueKarte
  414.     go card 4+ NeueKarte of MacSunriSE.Komposita
  415.   end repeat
  416. else
  417.   global Maxauswahl
  418.   get bkgnd field kk
  419.   put it into AlteKarte
  420.   go card 2
  421.   put it into NeueKarte
  422.   repeat until NeueKarte <> AlteKarte
  423.     get line Random (Maxauswahl) of bkgnd field GemerkteZeichen
  424.     put it into NeueKarte
  425.   end repeat
  426.   go card 4+ NeueKarte of MacSunriSE.Komposita
  427. end if
  428. end if
  429. click at 200,200
  430. unlock screen
  431. wait for the short name of bkgnd btn id 165 seconds
  432. end repeat
  433. set the hilite of me to false
  434. end mouseUp
  435.  
  436.  
  437.  
  438. -- part 54 (button)
  439. -- low flags: 00
  440. -- high flags: 2000
  441. -- rect: left=71 top=324 right=340 bottom=182
  442. -- title width / last selected line: 0
  443. -- icon id / first selected line: 0 / 0
  444. -- text alignment: 1
  445. -- font id: 0
  446. -- text size: 12
  447. -- style flags: 0
  448. -- line height: 16
  449. -- part name: Zeichen wèhlen
  450. ----- HyperTalk script -----
  451. on mouseUp
  452.   set the hilite of me to true
  453.   set cursor to Uhr1
  454.   lock screen
  455.   push card
  456.   get bkgnd field KK
  457.   put it into NeuesZeichen
  458.   put bkgnd field JIS into Dschis
  459.   go card 2
  460.   set cursor to Uhr2
  461.   find word Neueszeichen in bkgnd field GemerkteZeichen
  462.   if the Result is "not found"
  463.   then
  464.   put neueszeichen into Banane
  465.   if Banane < 1000
  466.   then
  467.   if Banane < 100
  468.   then
  469.   if Banane < 10
  470.   then
  471.   put "  "&Banane into Banane
  472. end if
  473. put "  "&Banane into Banane
  474. end if
  475. put "  "&Banane into Banane
  476. end if
  477. set cursor to Uhr3
  478. put Banane into NeuZeichen
  479. get bkgnd field GemerkteZeichen
  480. put it & NeuZeichen &"      "&Dschis & Return into bkgnd field Gemerktezeichen
  481. global MaxAuswahl
  482. global Aktauswahl
  483. set cursor to Uhr4
  484. put Maxauswahl +1 into Maxauswahl
  485. if Maxauswahl =1 then
  486.   put 1 into AktAuswahl
  487. end if
  488. else
  489.   play boing
  490.   set cursor to arrow
  491.   Answer "This character is choosen already." with "OK"
  492.   pop card
  493.   unlock screen
  494.   set the hilite of me to false
  495.   exit mouseup
  496. end if
  497. set cursor to Uhr5
  498. pop card
  499. unlock screen
  500. set cursor to Uhr6
  501. set the hilite of me to false
  502. end mouseUp
  503.  
  504.  
  505.  
  506. -- part 106 (button)
  507. -- low flags: 00
  508. -- high flags: 0000
  509. -- rect: left=22 top=279 right=320 bottom=69
  510. -- title width / last selected line: 0
  511. -- icon id / first selected line: 30179 / 30179
  512. -- text alignment: 1
  513. -- font id: 0
  514. -- text size: 12
  515. -- style flags: 0
  516. -- line height: 16
  517. -- part name: Striche
  518. ----- HyperTalk script -----
  519. on mouseUp
  520.   set the hilite of me to true
  521.   if the visible of bkgnd btn "deselect char" is true then click at the loc of bkgnd btn Umschalter
  522.   push card
  523.   lock screen
  524.   set the hilite of me to false
  525.   put the short name of bkgnd btn id 147 into startzeit
  526.   get bkgnd field "kk"
  527.   put it into kkaktuell
  528.   if kkaktuell>0 and kkaktuell<=153 then
  529.     go MacSunriSE.Striche1
  530.   end if
  531.   if kkaktuell>153 and kkaktuell<=253 then
  532.     go MacSunriSE.Striche2
  533.   end if
  534.   if kkaktuell>253 and kkaktuell<=372 then
  535.     go MacSunriSE.Striche3
  536.   end if
  537.   if kkaktuell>372 and kkaktuell<=386 then
  538.     go MacSunriSE.Striche4
  539.   end if
  540.   if kkaktuell>386 and kkaktuell<=500 then
  541.     go MacSunriSE.Striche5
  542.   end if
  543.   set the name of bkgnd btn id 27 to startzeit
  544.   find word kkaktuell in bkgnd field kk
  545.   click at 200,200
  546.   unlock screen
  547. end mouseUp
  548.  
  549.  
  550.  
  551.  
  552. -- part 122 (button)
  553. -- low flags: 00
  554. -- high flags: 8002
  555. -- rect: left=49 top=218 right=235 bottom=86
  556. -- title width / last selected line: 0
  557. -- icon id / first selected line: 0 / 0
  558. -- text alignment: 1
  559. -- font id: 0
  560. -- text size: 12
  561. -- style flags: 0
  562. -- line height: 16
  563. -- part name: 1
  564. ----- HyperTalk script -----
  565. on mouseUp
  566.   Ask "new lower limit:" with the short name of me
  567.   if it is not empty
  568.   then
  569.   global MIN
  570.   global MAX
  571.   if it < MIN
  572.   then
  573.   set the name of bkgnd btn id 122 to MIN
  574. else
  575.   if it > the short name of bkgnd btn id 123
  576.   then
  577.   set the name of bkgnd btn id 122 to the short name of bkgnd btn id 123
  578. else
  579.   set the name of bkgnd btn id 122 to it
  580. end if
  581. end if
  582. lock screen
  583. find word the short name of bkgnd btn id 122 in bkgnd field KK
  584. if the result is "not found"
  585. then
  586. set the name of bkgnd btn id 122 to MIN
  587. go first card of this bkgnd
  588. end if
  589. click at the loc of bkgnd btn Ton
  590. click at the loc of bkgnd btn Ton
  591. unlock screen
  592. end if
  593. end mouseUp
  594.  
  595.  
  596.  
  597. -- part 123 (button)
  598. -- low flags: 00
  599. -- high flags: 8002
  600. -- rect: left=99 top=218 right=235 bottom=143
  601. -- title width / last selected line: 0
  602. -- icon id / first selected line: 0 / 0
  603. -- text alignment: 1
  604. -- font id: 0
  605. -- text size: 12
  606. -- style flags: 0
  607. -- line height: 16
  608. -- part name: 10
  609. ----- HyperTalk script -----
  610. on mouseUp
  611.   Ask "new upper limit:" with the short name of me
  612.   if it is not empty
  613.   then
  614.   global MAX
  615.   global MIN
  616.   if it > MAX
  617.   then
  618.   set the name of bkgnd btn id 123 to MAX
  619. else
  620.   if it < the short name of bkgnd btn id 122
  621.   then
  622.   set the name of bkgnd btn id 123 to the short name of bkgnd btn id 122
  623. else
  624.   set the name of bkgnd btn id 123 to it
  625. end if
  626. end if
  627. lock screen
  628. find word the short name of bkgnd btn id 123 in bkgnd field KK
  629. if the result is "not found"
  630. then
  631. set the name of bkgnd btn id 123 to Max
  632. go last card of this bkgnd
  633. end if
  634. click at the loc of bkgnd btn Ton
  635. click at the loc of bkgnd btn Ton
  636. unlock screen
  637. end if
  638. end mouseUp
  639.  
  640.  
  641.  
  642. -- part 124 (button)
  643. -- low flags: 00
  644. -- high flags: 8002
  645. -- rect: left=85 top=218 right=235 bottom=100
  646. -- title width / last selected line: 0
  647. -- icon id / first selected line: 0 / 0
  648. -- text alignment: 1
  649. -- font id: 0
  650. -- text size: 12
  651. -- style flags: 0
  652. -- line height: 16
  653. -- part name: -
  654.  
  655.  
  656. -- part 130 (button)
  657. -- low flags: 00
  658. -- high flags: 0000
  659. -- rect: left=244 top=324 right=340 bottom=304
  660. -- title width / last selected line: 0
  661. -- icon id / first selected line: 0 / 0
  662. -- text alignment: 1
  663. -- font id: 0
  664. -- text size: 12
  665. -- style flags: 0
  666. -- line height: 16
  667. -- part name: Auswahl
  668. ----- HyperTalk script -----
  669. on mouseUp
  670.   if the hilite of me is false
  671.   then
  672.   set cursor to watch
  673.   show bkgnd btn id 131
  674.   set the hilite of me to true
  675.   global Maxauswahl
  676.   global AktAuswahl
  677.   lock screen
  678.   go card 2
  679.   get the number of lines of bkgnd field GEmerkteZeichen
  680.   put it into Maxauswahl
  681.   go back
  682.   unlock screen
  683.   if Maxauswahl=0
  684.   then
  685.   play boing
  686.   answer "You have no characters selected." with "OK"
  687.   hide bkgnd btn id 131
  688.   set the hilite of me to false
  689. else
  690.   put 1 into Aktauswahl
  691.   global NOAuswahl
  692.   put the id of this card into NOAuswahl
  693.   lock screen
  694.   go card 2
  695.   get line AktAuswahl of bkgnd field GemerkteZeichen
  696.   go next
  697.   find word word 1 of it in bkgnd field KK
  698.   click at  200,200
  699.   click at  200,200
  700.   unlock screen
  701. end if
  702. else
  703.   hide Bkgnd btn id 131
  704.   set the hilite of me to false
  705. end if
  706. global Maxauswahl
  707. if Maxauswahl=1
  708. then
  709. show bkgnd btn "Zeichen w├ñhlen"
  710. hide Bkgnd btn id 131
  711. set the hilite of me to false
  712. if Bkgnd field KK < the short name of bkgnd btn id 122 or bkgnd field KK > the short name of bkgnd btn id 123
  713. then
  714. find word the short name of bkgnd btn id 122 in bkgnd field KK
  715. end if
  716. end if
  717. end mouseUp
  718.  
  719.  
  720.  
  721. -- part 131 (button)
  722. -- low flags: 80
  723. -- high flags: 8002
  724. -- rect: left=49 top=218 right=234 bottom=143
  725. -- title width / last selected line: 0
  726. -- icon id / first selected line: 0 / 0
  727. -- text alignment: 1
  728. -- font id: 0
  729. -- text size: 12
  730. -- style flags: 0
  731. -- line height: 16
  732. -- part name: selected
  733.  
  734.  
  735. -- part 132 (button)
  736. -- low flags: 80
  737. -- high flags: C002
  738. -- rect: left=347 top=323 right=341 bottom=381
  739. -- title width / last selected line: 0
  740. -- icon id / first selected line: 0 / 0
  741. -- text alignment: 1
  742. -- font id: 0
  743. -- text size: 12
  744. -- style flags: 0
  745. -- line height: 16
  746. -- part name: Ton
  747. ----- HyperTalk script -----
  748. on mouseUp
  749.   if the hilite of me is true
  750.   then
  751.   set the hilite of me to false
  752. else
  753.   set the hilite of me to true
  754. end if
  755. end mouseUp
  756.  
  757.  
  758.  
  759. -- part 133 (button)
  760. -- low flags: 00
  761. -- high flags: 2000
  762. -- rect: left=8 top=43 right=200 bottom=171
  763. -- title width / last selected line: 0
  764. -- icon id / first selected line: 0 / 0
  765. -- text alignment: 1
  766. -- font id: 0
  767. -- text size: 12
  768. -- style flags: 0
  769. -- line height: 16
  770. -- part name: 
  771. ----- HyperTalk script -----
  772. on mouseUp
  773.   push card
  774.   go first
  775. end mouseUp
  776.  
  777.  
  778.  
  779. -- part 134 (button)
  780. -- low flags: 00
  781. -- high flags: 0000
  782. -- rect: left=306 top=324 right=340 bottom=349
  783. -- title width / last selected line: 0
  784. -- icon id / first selected line: 0 / 0
  785. -- text alignment: 1
  786. -- font id: 0
  787. -- text size: 12
  788. -- style flags: 0
  789. -- line height: 16
  790. -- part name: Zufall
  791. ----- HyperTalk script -----
  792. on mouseUp
  793.   if the hilite of me is true
  794.   then
  795.   set the hilite of me to false
  796. else
  797.   set the hilite of me to true
  798. end if
  799. end mouseUp
  800.  
  801.  
  802.  
  803. -- part 135 (button)
  804. -- low flags: 80
  805. -- high flags: 8002
  806. -- rect: left=70 top=323 right=341 bottom=183
  807. -- title width / last selected line: 0
  808. -- icon id / first selected line: 0 / 0
  809. -- text alignment: 1
  810. -- font id: 0
  811. -- text size: 12
  812. -- style flags: 0
  813. -- line height: 16
  814. -- part name: deselect char
  815. ----- HyperTalk script -----
  816. on mouseUp
  817.   click at the loc of bkgnd btn Umschalter
  818.   set cursor to watch
  819.   lock screen
  820.   push card
  821.   get bkgnd field KK
  822.   put it into NeuesZeichen
  823.   go card 2
  824.   find word Neueszeichen in bkgnd field GemerkteZeichen
  825.   if the Result is not "not found"
  826.   then
  827.   delete the foundline
  828.   global MaxAuswahl
  829.   global Aktauswahl
  830.   put Maxauswahl -1 into Maxauswahl
  831. else
  832.   play boing
  833.   Answer "This character was not choosen." with "ok"
  834. end if
  835. pop card
  836. global Maxauswahl
  837. if Maxauswahl =0
  838. then
  839. if the hilite of bkgnd btn Auswahl is true
  840. then
  841. click at the loc of bkgnd btn Auswahl
  842. end if
  843. else
  844.   if the hilite of bkgnd btn Auswahl is true
  845.   then
  846.   click at the loc of bkgnd btn "n├ñchstes Kanji"
  847.   click at the loc of bkgnd btn Umschalter
  848. end if
  849. end if
  850. unlock screen
  851. end mouseUp
  852.  
  853.  
  854.  
  855. -- part 136 (button)
  856. -- low flags: 80
  857. -- high flags: A002
  858. -- rect: left=187 top=323 right=341 bottom=350
  859. -- title width / last selected line: 0
  860. -- icon id / first selected line: 0 / 0
  861. -- text alignment: 1
  862. -- font id: 0
  863. -- text size: 12
  864. -- style flags: 0
  865. -- line height: 16
  866. -- part name: selected characters
  867. ----- HyperTalk script -----
  868. on mouseUp
  869.   click at the loc of bkgnd btn Umschalter
  870.   push card
  871.   go card 2
  872. end mouseUp
  873.  
  874.  
  875.  
  876. -- part 138 (button)
  877. -- low flags: 00
  878. -- high flags: 0002
  879. -- rect: left=387 top=323 right=341 bottom=403
  880. -- title width / last selected line: 0
  881. -- icon id / first selected line: 3584 / 3584
  882. -- text alignment: 1
  883. -- font id: 0
  884. -- text size: 12
  885. -- style flags: 0
  886. -- line height: 16
  887. -- part name: Umschalter
  888. ----- HyperTalk script -----
  889. on mouseUp
  890.   lock screen
  891.   if the visible of bkgnd btn "deselect char" is false
  892.   then
  893.   show bkgnd btn "deselect char"
  894.   show bkgnd btn "selected characters"
  895.   set the icon of me to "sml UP Arrow"
  896. else
  897.   hide bkgnd btn "deselect char"
  898.   hide bkgnd btn "selected characters"
  899.   set the icon of me to "sml DOWN Arrow"
  900. end if
  901. unlock screen
  902. end mouseUp
  903.  
  904.  
  905.  
  906. -- part 139 (button)
  907. -- low flags: 00
  908. -- high flags: 8002
  909. -- rect: left=49 top=251 right=268 bottom=91
  910. -- title width / last selected line: 0
  911. -- icon id / first selected line: 0 / 0
  912. -- text alignment: 1
  913. -- font id: 0
  914. -- text size: 12
  915. -- style flags: 0
  916. -- line height: 16
  917. -- part name: K&K
  918. ----- HyperTalk script -----
  919. on mouseUp
  920.   hide me
  921.   hide bkgnd field KK
  922.   show bkgnd btn JIS
  923.   show bkgnd field JIS
  924. end mouseUp
  925.  
  926.  
  927.  
  928. -- part 140 (button)
  929. -- low flags: 80
  930. -- high flags: 8002
  931. -- rect: left=49 top=251 right=268 bottom=91
  932. -- title width / last selected line: 0
  933. -- icon id / first selected line: 0 / 0
  934. -- text alignment: 1
  935. -- font id: 0
  936. -- text size: 12
  937. -- style flags: 0
  938. -- line height: 16
  939. -- part name: JIS
  940. ----- HyperTalk script -----
  941. on mouseUp
  942.   hide me
  943.   hide bkgnd field JIS
  944.   show bkgnd btn "K&K"
  945.   show Bkgnd field KK
  946. end mouseUp
  947.  
  948.  
  949.  
  950. -- part 147 (button)
  951. -- low flags: 00
  952. -- high flags: 8000
  953. -- rect: left=117 top=4 right=20 bottom=170
  954. -- title width / last selected line: 0
  955. -- icon id / first selected line: 0 / 0
  956. -- text alignment: 1
  957. -- font id: 0
  958. -- text size: 12
  959. -- style flags: 0
  960. -- line height: 16
  961. -- part name: 17:24
  962. ----- HyperTalk script -----
  963. on mouseUp
  964.   set the name of me to char 1 to 5 of the long time
  965.   if char 5 of the short name of bkgnd btn id 147 = ":"
  966.   then
  967.   set the name of me to char 1 to 4 of the long time
  968. end if
  969. global Startzeit
  970. put the seconds into Startzeit
  971. end mouseUp
  972.  
  973.  
  974.  
  975. -- part 148 (button)
  976. -- low flags: 00
  977. -- high flags: 8000
  978. -- rect: left=298 top=4 right=20 bottom=342
  979. -- title width / last selected line: 0
  980. -- icon id / first selected line: 0 / 0
  981. -- text alignment: 1
  982. -- font id: 0
  983. -- text size: 12
  984. -- style flags: 0
  985. -- line height: 16
  986. -- part name: 00:02
  987.  
  988.  
  989. -- part 157 (field)
  990. -- low flags: 01
  991. -- high flags: 0000
  992. -- rect: left=187 top=61 right=253 bottom=446
  993. -- title width / last selected line: 0
  994. -- icon id / first selected line: 0 / 0
  995. -- text alignment: 65535
  996. -- font id: 0
  997. -- text size: 12
  998. -- style flags: 8192
  999. -- line height: 16
  1000. -- part name: Bedeutung
  1001.  
  1002.  
  1003. -- part 158 (field)
  1004. -- low flags: 01
  1005. -- high flags: 0000
  1006. -- rect: left=444 top=61 right=254 bottom=500
  1007. -- title width / last selected line: 0
  1008. -- icon id / first selected line: 0 / 0
  1009. -- text alignment: 65535
  1010. -- font id: 0
  1011. -- text size: 12
  1012. -- style flags: 8192
  1013. -- line height: 16
  1014. -- part name: Verzweig
  1015. ----- HyperTalk script -----
  1016. on mouseup
  1017.   lock screen
  1018.   set the locktext of me to false
  1019.   click at the mouseloc
  1020.   click at the mouseloc
  1021.   put the selection into GehKanji
  1022.   if Gehkanji is not empty
  1023.   then
  1024.   set the locktext of me to true
  1025.   push card
  1026.   Kompositaaus
  1027.   go card 4 + Gehkanji
  1028.   unlock screen with visual dissolve
  1029.   show bkgnd btn "letztes Kompositum"
  1030. else
  1031.   set the locktext of me to true
  1032. end if
  1033. end mouseup
  1034.  
  1035.  
  1036.  
  1037. -- part 169 (button)
  1038. -- low flags: 00
  1039. -- high flags: 0000
  1040. -- rect: left=187 top=42 right=61 bottom=505
  1041. -- title width / last selected line: 0
  1042. -- icon id / first selected line: 0 / 0
  1043. -- text alignment: 1
  1044. -- font id: 0
  1045. -- text size: 12
  1046. -- style flags: 0
  1047. -- line height: 16
  1048. -- part name: Komposita
  1049. ----- HyperTalk script -----
  1050. on mouseUp
  1051.   Kompositaaus
  1052. end mouseUp
  1053.  
  1054.  
  1055.  
  1056. -- part 159 (field)
  1057. -- low flags: 01
  1058. -- high flags: 0000
  1059. -- rect: left=230 top=60 right=77 bottom=445
  1060. -- title width / last selected line: 0
  1061. -- icon id / first selected line: 0 / 0
  1062. -- text alignment: 65535
  1063. -- font id: 0
  1064. -- text size: 12
  1065. -- style flags: 512
  1066. -- line height: 16
  1067. -- part name: Lesung1
  1068.  
  1069.  
  1070. -- part 160 (field)
  1071. -- low flags: 01
  1072. -- high flags: 0000
  1073. -- rect: left=229 top=93 right=110 bottom=444
  1074. -- title width / last selected line: 0
  1075. -- icon id / first selected line: 0 / 0
  1076. -- text alignment: 65535
  1077. -- font id: 0
  1078. -- text size: 12
  1079. -- style flags: 512
  1080. -- line height: 16
  1081. -- part name: Lesung2
  1082.  
  1083.  
  1084. -- part 161 (field)
  1085. -- low flags: 01
  1086. -- high flags: 0000
  1087. -- rect: left=229 top=126 right=143 bottom=444
  1088. -- title width / last selected line: 0
  1089. -- icon id / first selected line: 0 / 0
  1090. -- text alignment: 65535
  1091. -- font id: 0
  1092. -- text size: 12
  1093. -- style flags: 512
  1094. -- line height: 16
  1095. -- part name: Lesung3
  1096.  
  1097.  
  1098. -- part 162 (field)
  1099. -- low flags: 01
  1100. -- high flags: 0000
  1101. -- rect: left=229 top=157 right=174 bottom=444
  1102. -- title width / last selected line: 0
  1103. -- icon id / first selected line: 0 / 0
  1104. -- text alignment: 65535
  1105. -- font id: 0
  1106. -- text size: 12
  1107. -- style flags: 512
  1108. -- line height: 16
  1109. -- part name: Lesung4
  1110.  
  1111.  
  1112. -- part 163 (field)
  1113. -- low flags: 01
  1114. -- high flags: 0000
  1115. -- rect: left=187 top=189 right=222 bottom=444
  1116. -- title width / last selected line: 0
  1117. -- icon id / first selected line: 0 / 0
  1118. -- text alignment: 65535
  1119. -- font id: 0
  1120. -- text size: 12
  1121. -- style flags: 512
  1122. -- line height: 16
  1123. -- part name: Lesung5
  1124.  
  1125.  
  1126. -- part 164 (button)
  1127. -- low flags: 00
  1128. -- high flags: 6005
  1129. -- rect: left=187 top=256 right=275 bottom=505
  1130. -- title width / last selected line: 0
  1131. -- icon id / first selected line: 0 / 0
  1132. -- text alignment: 1
  1133. -- font id: 0
  1134. -- text size: 12
  1135. -- style flags: 0
  1136. -- line height: 16
  1137. -- part name: Notiz zu Komposita
  1138. ----- HyperTalk script -----
  1139. on mouseUp
  1140.   if the hilite of me is true then show bkgnd field "Notiz zu Komposita"
  1141.   else
  1142.     hide bkgnd field "Notiz zu Komposita"
  1143.   end if
  1144. end mouseUp
  1145.  
  1146.  
  1147.  
  1148. -- part 165 (button)
  1149. -- low flags: 00
  1150. -- high flags: 8000
  1151. -- rect: left=436 top=4 right=20 bottom=461
  1152. -- title width / last selected line: 0
  1153. -- icon id / first selected line: 0 / 0
  1154. -- text alignment: 1
  1155. -- font id: 0
  1156. -- text size: 12
  1157. -- style flags: 0
  1158. -- line height: 16
  1159. -- part name: 1
  1160. ----- HyperTalk script -----
  1161. on mouseUp
  1162.   put false into Geschw
  1163.   repeat until Geschw is true
  1164.     ask "Speed of browsing (0-60 s delay)" with the short name of me
  1165.     if it is empty then exit mouseup
  1166.     if it > -1 and it < 61
  1167.     then
  1168.     put true into Geschw
  1169.     set the name of me to it
  1170.   end if
  1171. end repeat
  1172. end mouseUp
  1173.  
  1174.  
  1175. -- part 166 (button)
  1176. -- low flags: 00
  1177. -- high flags: 0000
  1178. -- rect: left=348 top=4 right=20 bottom=447
  1179. -- title width / last selected line: 0
  1180. -- icon id / first selected line: 0 / 0
  1181. -- text alignment: 1
  1182. -- font id: 0
  1183. -- text size: 12
  1184. -- style flags: 0
  1185. -- line height: 16
  1186. -- part name: 
  1187. ----- HyperTalk script -----
  1188. on mouseUp
  1189.   put false into Geschw
  1190.   repeat until Geschw is true
  1191.     ask "Speed of browsing (0-60 s delay)" with the short name of bkgnd btn id 165
  1192.     if it is empty then exit mouseup
  1193.     if it > -1 and it < 61
  1194.     then
  1195.     put true into Geschw
  1196.     set the name of bkgnd btn id 165 to it
  1197.   end if
  1198. end repeat
  1199. end mouseUp
  1200.  
  1201.  
  1202.  
  1203. -- part 167 (button)
  1204. -- low flags: 00
  1205. -- high flags: 0000
  1206. -- rect: left=466 top=4 right=20 bottom=505
  1207. -- title width / last selected line: 0
  1208. -- icon id / first selected line: 0 / 0
  1209. -- text alignment: 1
  1210. -- font id: 0
  1211. -- text size: 12
  1212. -- style flags: 0
  1213. -- line height: 16
  1214. -- part name: 
  1215. ----- HyperTalk script -----
  1216. on mouseUp
  1217.   put false into Geschw
  1218.   repeat until Geschw is true
  1219.     ask "Speed of browsing (0-60 s delay)" with the short name of bkgnd btn id 165
  1220.     if it is empty then exit mouseup
  1221.     if it > -1 and it < 61
  1222.     then
  1223.     put true into Geschw
  1224.     set the name of bkgnd btn id 165 to it
  1225.   end if
  1226. end repeat
  1227. end mouseUp
  1228.  
  1229.  
  1230. -- part 168 (field)
  1231. -- low flags: 00
  1232. -- high flags: 0007
  1233. -- rect: left=187 top=276 right=320 bottom=505
  1234. -- title width / last selected line: 0
  1235. -- icon id / first selected line: 0 / 0
  1236. -- text alignment: 0
  1237. -- font id: 3
  1238. -- text size: 9
  1239. -- style flags: 0
  1240. -- line height: 12
  1241. -- part name: Notiz zu Komposita
  1242.  
  1243.  
  1244. -- part 170 (button)
  1245. -- low flags: 00
  1246. -- high flags: 2000
  1247. -- rect: left=448 top=323 right=342 bottom=512
  1248. -- title width / last selected line: 0
  1249. -- icon id / first selected line: 0 / 0
  1250. -- text alignment: 1
  1251. -- font id: 0
  1252. -- text size: 12
  1253. -- style flags: 0
  1254. -- line height: 16
  1255. -- part name: Beenden
  1256. ----- HyperTalk script -----
  1257. on mouseUp
  1258.   Kompositaaus
  1259.   click at the loc of bkgnd btn "beenden"
  1260. end mouseUp
  1261.  
  1262.  
  1263.  
  1264. -- part 171 (button)
  1265. -- low flags: 80
  1266. -- high flags: 8002
  1267. -- rect: left=403 top=323 right=341 bottom=439
  1268. -- title width / last selected line: 0
  1269. -- icon id / first selected line: 0 / 0
  1270. -- text alignment: 1
  1271. -- font id: 0
  1272. -- text size: 12
  1273. -- style flags: 0
  1274. -- line height: 16
  1275. -- part name: Hilfe
  1276. ----- HyperTalk script -----
  1277. on mouseUp
  1278.   set the hilite of me to true
  1279.   repeat until the mouse is down
  1280.     set cursor to plus
  1281.   end repeat
  1282.   set the hilite of me to false
  1283. end mouseUp
  1284.  
  1285.  
  1286.  
  1287. -- part 156 (button)
  1288. -- low flags: 00
  1289. -- high flags: 4005
  1290. -- rect: left=187 top=42 right=59 bottom=268
  1291. -- title width / last selected line: 0
  1292. -- icon id / first selected line: 0 / 0
  1293. -- text alignment: 1
  1294. -- font id: 0
  1295. -- text size: 12
  1296. -- style flags: 0
  1297. -- line height: 16
  1298. -- part name: Kompclose
  1299. ----- HyperTalk script -----
  1300. on mouseUp
  1301.   Kompositaaus
  1302. end mouseUp
  1303.  
  1304.  
  1305.  
  1306.  
  1307. -- part 174 (button)
  1308. -- low flags: 00
  1309. -- high flags: 0000
  1310. -- rect: left=408 top=324 right=340 bottom=442
  1311. -- title width / last selected line: 0
  1312. -- icon id / first selected line: 0 / 0
  1313. -- text alignment: 1
  1314. -- font id: 0
  1315. -- text size: 12
  1316. -- style flags: 0
  1317. -- line height: 16
  1318. -- part name: Hilfe
  1319. ----- HyperTalk script -----
  1320. on mouseUp
  1321.   push card
  1322.   Kompositaaus
  1323.   send KOMP to bkgnd btn Hilfe
  1324. end mouseUp
  1325.  
  1326.  
  1327.