home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
hypercrd
/
xcmd
/
prctclxf.sit
/
DemoStack
/
background_2685.txt
< prev
next >
Wrap
Text File
|
1990-08-28
|
7KB
|
335 lines
-- background: 2685 from stack: in
-- bmap block id: 3223
-- flags: 0000
-- background id: 0
-- name: Main
-- part 1 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=0 top=0 right=20 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 12
-- style flags: 1280
-- line height: 16
-- part name: HeaderRight
-- part 3 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=4 top=317 right=340 bottom=31
-- title width / last selected line: 0
-- icon id / first selected line: 30557 / 30557
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: First
----- HyperTalk script -----
on mouseUp
GoFirst
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=224 top=317 right=340 bottom=247
-- title width / last selected line: 0
-- icon id / first selected line: 1014 / 1014
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Previous
----- HyperTalk script -----
on mouseUp
GoPrevious
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=266 top=317 right=340 bottom=289
-- title width / last selected line: 0
-- icon id / first selected line: 1013 / 1013
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Next
----- HyperTalk script -----
on mouseUp
GoNext
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=482 top=317 right=340 bottom=510
-- title width / last selected line: 0
-- icon id / first selected line: 26865 / 26865
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Last
----- HyperTalk script -----
on mouseUp
GoLast
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=39 top=317 right=340 bottom=62
-- title width / last selected line: 0
-- icon id / first selected line: 20689 / 20689
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Home
----- HyperTalk script -----
on mouseUp
GoHome
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=72 top=318 right=340 bottom=98
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Previous
----- HyperTalk script -----
on mouseUp
GoHelp
end mouseUp
-- part 9 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=0 top=2 right=20 bottom=150
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 1280
-- line height: 13
-- part name: HeaderLeft
-- part 10 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=449 top=317 right=340 bottom=476
-- title width / last selected line: 0
-- icon id / first selected line: 1012 / 1012
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Back
----- HyperTalk script -----
on mouseUp
GoBack
end mouseUp
-- part 11 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=107 top=319 right=339 bottom=149
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 10
-- style flags: 256
-- line height: 13
-- part name: Index
----- HyperTalk script -----
on mouseUp
GoIndex
end mouseUp
-- part 12 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=413 top=2 right=20 bottom=500
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 3
-- text size: 10
-- style flags: 256
-- line height: 13
-- part name: HeaderNumber
-- part 13 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=2 top=22 right=38 bottom=247
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 10
-- style flags: 256
-- line height: 13
-- part name: DescriptionTitle
-- part 14 (field)
-- low flags: 01
-- high flags: 0007
-- rect: left=2 top=38 right=314 bottom=247
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 0
-- line height: 13
-- part name: Description
----- HyperTalk script -----
on enterInField
set cursor to watch
executeField(the target)
end enterInField
-- Execute the selected lines in the field
on executeField theField
put word 2 of selectedLine() into firstLine
put selectedChunk() into saveChunk
put selectedText() into script
if (script = empty) then put value(selectedLine()) into script
select line firstLine of the target
showScript script
select saveChunk
end executeField
-- part 16 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=161 top=316 right=342 bottom=199
-- title width / last selected line: 0
-- icon id / first selected line: 32670 / 32670
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: ShowAll
----- HyperTalk script -----
on mouseUp
set cursor to watch
set lockRecent to true
set lockMessages to true
if (the shiftKey is down) then set lockScreen to true
show all cards
set lockScreen to false
set lockMessages to false
set lockRecent to false
end mouseUp
-- part 2 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=0 top=0 right=20 bottom=512
-- 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: MenuHide
----- HyperTalk script -----
on mouseEnter
if (not debugging() and not lockMenuBar()) then show menubar
end mouseEnter
on mouseLeave
if (not debugging() and not lockMenuBar()) then hide menubar
end mouseLeave
-- part 17 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=319 top=319 right=340 bottom=384
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 10
-- style flags: 256
-- line height: 13
-- part name: THINK C
----- HyperTalk script -----
on mouseUp
GoThinkC
end mouseUp
-- part 20 (button)
-- low flags: 80
-- high flags: 8004
-- rect: left=349 top=318 right=340 bottom=449
-- 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: Debugging
----- HyperTalk script -----
on mouseUp
set the hilite of the target to not (the hilite of the target)
get debugging(the hilite of the target)
send openCard to this stack
end mouseUp