home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
hypercrd
/
hc1_2_x
/
debatech.sit
/
Briefs
/
background_2706.txt
< prev
next >
Wrap
Text File
|
1990-04-21
|
6KB
|
305 lines
-- background: 2706 from stack: in
-- bmap block id: 3274
-- flags: 0000
-- background id: 0
-- name:
-- part 1 (field)
-- low flags: 00
-- high flags: 4007
-- rect: left=129 top=102 right=342 bottom=406
-- 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: brief
-- part 2 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=129 top=39 right=57 bottom=406
-- 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: case
-- part 3 (field)
-- low flags: 00
-- high flags: 0007
-- rect: left=129 top=62 right=96 bottom=406
-- 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: title
-- part 4 (button)
-- low flags: 00
-- high flags: 2004
-- rect: left=450 top=46 right=86 bottom=489
-- title width / last selected line: 0
-- icon id / first selected line: 1005 / 1005
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: createBrief
----- HyperTalk script -----
on mouseUp
global briefMaking
global gBrief
ask "What case does this brief cover?"
put it into field case
ask "Give the brief a title:"
put it into field title
answer "Start making the brief?" with "Cancel" or "Yes"
if it is "Cancel" then exit to HyperCard
put "true" into briefMaking
show bkgnd button disableBriefMaking
hide bkgnd button createBrief
put empty into gBrief
answer "Brief making now enabled."
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 2004
-- rect: left=27 top=47 right=85 bottom=68
-- title width / last selected line: 0
-- icon id / first selected line: 29114 / 29114
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Home
----- HyperTalk script -----
on mouseUp
pop card
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: 2004
-- rect: left=28 top=108 right=147 bottom=67
-- title width / last selected line: 0
-- icon id / first selected line: 2002 / 2002
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: coach
----- HyperTalk script -----
on mouseUp
go to card id 3060 of stack "Debate Coach"
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: 2004
-- rect: left=450 top=107 right=149 bottom=491
-- title width / last selected line: 0
-- icon id / first selected line: 2043 / 2043
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: newBrief
----- HyperTalk script -----
on mouseUp
doMenu "New Card"
end mouseUp
-- part 10 (button)
-- low flags: 00
-- high flags: 2004
-- rect: left=450 top=169 right=208 bottom=492
-- title width / last selected line: 0
-- icon id / first selected line: 16706 / 16706
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: formatFile
----- HyperTalk script -----
on mouseUp
TeX
end mouseUp
-- part 11 (button)
-- low flags: 00
-- high flags: 2004
-- rect: left=26 top=172 right=205 bottom=70
-- title width / last selected line: 0
-- icon id / first selected line: 30393 / 30393
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: newcase
----- HyperTalk script -----
on mouseUp
put the short name of this stack into stackName
oxBox stackName
end mouseUp
-- part 12 (button)
-- low flags: 80
-- high flags: 2004
-- rect: left=452 top=231 right=265 bottom=490
-- title width / last selected line: 0
-- icon id / first selected line: 17137 / 17137
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: disableBriefMaking
----- HyperTalk script -----
on mouseUp
global briefMaking
put "false" into briefMaking
hide bkgnd button disableBriefMaking
show bkgnd button createBrief
answer "Brief making now disabled."
end mouseUp
-- part 13 (button)
-- low flags: 00
-- high flags: 2004
-- rect: left=450 top=291 right=332 bottom=491
-- title width / last selected line: 0
-- icon id / first selected line: 1898 / 1898
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: writeBrief
----- HyperTalk script -----
on mouseUp
global gBrief
get first word of field brief
if it is not empty then
answer "Really erase old brief" with "OK" or "Cancel"
end if
if it is "Cancel" then exit to HyperCard
put gBrief into field brief
put empty into gBrief
end mouseUp
-- part 14 (button)
-- low flags: 00
-- high flags: 2004
-- rect: left=28 top=226 right=262 bottom=68
-- title width / last selected line: 0
-- icon id / first selected line: 23078 / 23078
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
push card
go to card id 5535 of stack "Debate Coach"
end mouseUp
-- part 15 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=466 top=1 right=31 bottom=511
-- title width / last selected line: 0
-- icon id / first selected line: 32650 / 32650
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
go to next card
end mouseUp
-- part 16 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=1 top=1 right=31 bottom=46
-- title width / last selected line: 0
-- icon id / first selected line: 1016 / 1016
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
go to previous card
end mouseUp
-- part 17 (button)
-- low flags: 00
-- high flags: 0004
-- rect: left=28 top=286 right=324 bottom=69
-- title width / last selected line: 0
-- icon id / first selected line: 8538 / 8538
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: search
----- HyperTalk script -----
on mouseUp
put the short name of this stack into stackName
put the selection into chosenText
search stackName, chosenText
end mouseUp