home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
hypercrd
/
hc1_2_x
/
macsunrs.sit
/
MacSUNRISE.Striche1
/
background_2646.txt
< prev
next >
Wrap
Text File
|
1990-07-20
|
5KB
|
233 lines
-- background: 2646 from stack: in.Striche1
-- bmap block id: 4802
-- flags: 0000
-- background id: 0
-- name: K&K.Striche
----- HyperTalk script -----
on idle
get word 1 of the short name of bkgnd btn id 27
convert it to seconds
put it into Startzeit
put the seconds into Jetztzeit
put (Jetztzeit - Startzeit) into Arbeitszeit
put trunc (Arbeitszeit / 3600) into Stunde
if Stunde < 10 then put "0"&Stunde into Stunde
put Arbeitszeit - Stunde*3600 into Arbeitszeit
put trunc (Arbeitszeit / 60) into Minute
if Minute < 10 then put "0"&Minute into Minute
set the name of bkgnd btn id 28 to Stunde&":"&Minute
set the name of bkgnd btn id 29 to the date
pass idle
end idle
on arrowKey whichKey
if whichKey is "left" then click at the loc of bkgnd button "vorheriges Kanji"
if whichKey is "right" then click at the loc of bkgnd button "nächstes Kanji"
end arrowKey
-- part 1 (field)
-- low flags: 80
-- high flags: 0004
-- rect: left=7 top=196 right=298 bottom=267
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 0
-- text size: 12
-- style flags: 8192
-- line height: 16
-- part name: Lesungen
-- part 2 (field)
-- low flags: 80
-- high flags: 2007
-- rect: left=269 top=46 right=336 bottom=508
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 8192
-- line height: 20
-- part name: åbersetzung
-- part 12 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=269 top=325 right=337 bottom=281
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Lesungensichtbar
-- part 14 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=285 top=325 right=337 bottom=297
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: åbersetzungsichtbar
-- part 21 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=94 top=224 right=241 bottom=143
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: KK
-- part 22 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=94 top=243 right=260 bottom=143
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: JIS
-- part 23 (button)
-- low flags: 00
-- high flags: 2003
-- rect: left=12 top=276 right=321 bottom=178
-- title width / last selected line: 0
-- icon id / first selected line: 14953 / 14953
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: zurƒck
----- HyperTalk script -----
on mouseUp
pop card
end mouseUp
-- part 25 (button)
-- low flags: 00
-- high flags: 2003
-- rect: left=145 top=209 right=275 bottom=178
-- title width / last selected line: 0
-- icon id / first selected line: 22308 / 22308
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: nèchstes Kanji
----- HyperTalk script -----
on mouseUp
visual effect wipe down
go next
end mouseUp
-- part 27 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=96 top=4 right=20 bottom=191
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 17:24
-- part 28 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=272 top=4 right=20 bottom=368
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 00:02
-- part 29 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=348 top=3 right=19 bottom=505
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 20.7.1990
-- part 30 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=448 top=323 right=342 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Beenden
----- HyperTalk script -----
on mouseUp
pop card
click at the loc of bkgnd btn Beenden
end mouseUp
-- part 38 (button)
-- low flags: 00
-- high flags: 2003
-- rect: left=12 top=209 right=275 bottom=46
-- title width / last selected line: 0
-- icon id / first selected line: 19381 / 19381
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: vorheriges Kanji
----- HyperTalk script -----
on mouseUp
visual effect wipe up
go prev
end mouseUp