Multimedia ToolBook has become the standard for Windows multimedia authoring tools. Click the graphic buttons on this page to learn about a few applications created with Multimedia Toolbook..
Beethoven's 9th Symphony from Voyager
Desert Storm from Warner New Media
The Book of MIDI from Opcode Systems
Composer Quest from Dr. T's Music Software
Passport's Demo Application
Learn Spanish from Hyperglotport for multimedia lets you import 256-color device-independent bitmaps (DIBs) and other graphic formats. Make hypertext and hypermedia links with no programming using the Link To and Link With features. Animation sequences are easily created with the script recorder. ToolBook also supports multiple instances and Dynamic Data Exchange (DDE). Extend ToolBook by linking to Dynamic Link Libraries (DLLs). You can even access callback functionality for Windows messages by using the OpenScript TranslateWindowsMessage control structure.
Who Uses Multimedia ToolBook?
Who Uses Multimedia ToolBook?
4sPath
tbkmci("close
","")
" &&
< & "george.wav alias
","")
Aplay
"Learn about Operation Desert Storm
Warner New Media."
tbkmmnotify
y","")
uttondown
buttonUp
buttondown
tbkmmnotify
buttondown
buttonUp
close all
tbkmci
george.wav alias george
tbkmci
play george
tbkmci
Learn about Operation Desert Storm from Warner New Media.
sPath
tbkmmnotify
close george
tbkmci
:PHYSSIZE
4sPath
tbkmci("close
","")
" &&
C & "hyprglot.wav alias
","")
Uplay
"Habla Espa
fHyperglot's CD-based Spanish Lessons."
tbkmmnotify
","")
uttondown
buttonUp
buttondown
tbkmmnotify
buttondown
buttonUp
close all
tbkmci
hyprglot.wav alias hyprglot
tbkmci
play hyprglot
tbkmci
Habla Espa
ol with Hyperglot's CD-based Spanish Lessons.
sPath
tbkmmnotify
close hyprglot
tbkmci
:PHYSSIZE
4sPath
tbkmci("close
","")
" &&
C & "voyager.wav alias
","")
Tplay
"Explore Beethoven's Ninth Symphony
fVoyager's
tbkmmnotify
","")
uttondown
buttonUp
buttondown
tbkmmnotify
buttondown
buttonUp
close all
tbkmci
voyager.wav alias voyager
tbkmci
play voyager
tbkmci
Explore Beethoven's Ninth Symphony with Voyager's Beethoven application.
sPath
tbkmmnotify
close voyager
tbkmci
:PHYSSIZE
4sPath
tbkmci("close
","")
" &&
C & "passport.wav alias
","")
Uplay
"See a demonstration
Passport's professional music sequencing software, Master Tracks Pro."
tbkmmnotify
","")
uttondown
buttonUp
buttondown
tbkmmnotify
buttondown
buttonUp
close all
tbkmci
passport.wav alias passport
tbkmci
play passport
tbkmci
See a demonstration of Passport's professional music sequencing software, Master Tracks Pro.
sPath
tbkmmnotify
close passport
tbkmci
$:PHYSSIZE
"map"
buttonup
buttonup
buttonup
buttonup
previous
buttonup
buttonup
buttonup
buttonup
" && sy
howToOrder
e"howToOrder"
enterPage
enterPage
howToOrder
:PHYSSIZE
:PHYSSIZE
For more information on ToolBook 1.5 and the Asymetrix Multimedia Resource kit, call:
The suggested retail price for ToolBook 1.5 is $395, for the Multimedia Resource Kit $300 and for Multimedia ToolBook (Toolbook 1.5 plus the MMRK) $500. MMRK) $500. is $500.
"map"
buttonup
buttonup
buttonup
buttonup
previous
buttonup
buttonup
buttonup
buttonup
animationWithDIBs
How to Order ToolBook 1.5 and the
Asymetrix Multimedia Resource Kit
How to Order ToolBook 1.5 and the
Asymetrix Multimedia Resource Kit
phoneNumber
(206) 637-1500
Show Initialization Script
Speed Controlol
slider
txClassName
Slider
thumb
4pauseTime
sliderPosition
%".00"
50 - (
* 50)
buttonStillDown
buttonStillDown
sliderPosition
pauseTime
txClassName
hSliderThumb
glide
roundedrectangle id 54 of page id 15
width
follower
rectangle id 6 of page id 15
Button
waterNoise
4s_WaterNoise
buttonUp
buttonUp
s_WaterNoise
Water Sound
--Script to animate 12 bitmaps
to handle idle
system pauseTime, counter
if not invert of button "pause"
get tbkBitmap("window w" & counter && "state show")
if counter > 1
get tbkBitmap("window w" & (counter - 1) &&\
"state hide")
else
get tbkBitmap("window w12 state hide")
end
if speed > 0
pause pauseTime ticks
end
increment counter
if counter = 13
set counter to 1
pause 25 ticks
end
end
endddddddnd
idleOK
tbkmci("close h","")
buttonup
buttonup
close h
tbkmci
ePage
--Script to initialize 12 bitmaps
to handle enterpage
system counter
step i from 1 to 12
get tbkBitmap("open w" & i & ".dib alias w" & i && \
"style child parent" && sysClientHandle)
end
set counter to 1
forward
eld "speed" to 0
send textScrolled to field "speed"
forward
rward
field "speed" to 0
send textScrolled to field "speed"
forward
ePageOK
tbkmci("close w","")
buttonup
buttonup
close w
tbkmci
Photos by Darrell Jones
aboutToolBook
multimediaFont
multimediaResourceKit
Wave Audio: Simple Controls
sampleWidgets
widgets
Script Notes:
Page Title
Description
Dependencies
Copy All
Copy All
Copy Object
Copy Object
copyInstructions
Click an object to copy it to the clipboard.
defStroke
0,0,0
txClassName
button
Previous
defStroke
0,0,0
txClassName
button
defStroke
0,0,0
txClassName
button
txClassName
button
defStroke
0,0,0
Index
CLASSname
txButton
txClassName
button
Widgets
defStroke
0,0,0
txClassName
button
Widgets
txClassName
button
defStroke
0,0,0
Reference
Search
f X txClassName
button
x defStroke
0,0,0
Search...
sampleWidgets
imple Controls
e"sampleWidgets"
B"Unload"
--update the
tbkMCI("status waveFile
","")
"Name"
"Length"
"Position"
sliderPosition
"Slider"
"length"
yieldApp()
terPage
leavepage
enterPage
enterPage
reader
sampleWidgets
leavepage
buttonDown
Unload
status waveFile position
tbkMCI
Length
Position
Slider
sliderPosition
position
position
slider
sliderPosition
length
yieldApp
"r$^%
&h(J*
These widgets open a wave file and play all or parts of it. These controls work only if a wave file has been opened. To start, click the Load button to load a file from the disc and open the wave audio driver. The Load button
opens the device and a wave file, and the Unload button closes them. An
idle handler updates the Position field by querying the status of the wave audio driver.
The main slider control's script is in the system book TBKMM.SBK. The thumb button's script seeks to a new position in the wave file. If you change the script of the thumb button, be sure to forward the button event messages.
The Position field and the slider require this page's idle handler. You must copy the handler into the page or background where you paste these elements if you want them to update correctly. E
waveFile: an alias for the wave file.
Wave Audio
Simple controls controlsmpound controlstrols
Restart
rack
Rewind
Pause t
Play rt
FF n rt
Unload
Play From....
Play To...
Play FromToo.
Length
Position
Position: ition:
Length: onds: e:
txclassname
3DFrame Recessed
Wave File: s: e:
slider
txClassName
Slider
thumb
--thumb
seek animation file
slider's
tbkMCIchk("status waveFile length","",1,1)
sliderPosition
" &&
,"",1)
buttonUp
buttonUp
status waveFile length
tbkMCIchk
sliderPosition
seek waveFile to
tbkMCIchk
defStrokeColor
0,0,0
width
glide
line id 105 of page id 9
defFillColor
0,100,0
txClassName
HSliderThumb
Stop t
ZfileName
a wave
OpenDlg(".", "*.
", "Please choose a
D.", "Choose Wave File")
--close old
B"Unload"
tbkMCIchk("
" &&
&& "alias waveFile","",1,1)
ms","",1)
"length"
astatus
,"",1)
buttonDown
buttonDown
*.wav
Please choose a wave file.
Choose Wave File
OpenDlg
buttonDown
Unload
alias waveFile
tbkMCIchk
set waveFile time format ms
tbkMCIchk
length
status waveFile length
tbkMCIchk
fileName
Restart
tbkMCIchk("seek waveFile
0","",1)
buttonDown
buttonDown
seek waveFile to 0
tbkMCIchk
Rewind
tbkMCIchk("status waveFile
","",1,1)
b(0, p - 100)
:eek
" && p,"",1)
buttonStillDown
buttonStillDown
status waveFile position
tbkMCIchk
seek waveFile to
tbkMCIchk
Pause
tbkMCIchk("
waveFile","",1)
buttonDown
buttonDown
pause waveFile
tbkMCIchk
tbkMCIchk("stop waveFile","",1)
0","",1)
buttonDown
buttonDown
stop waveFile
tbkMCIchk
seek waveFile to 0
tbkMCIchk
tbkMCIchk("play waveFile","",1)
yieldApp()
buttonDown
buttonDown
play waveFile
tbkMCIchk
yieldApp
tbkMCIchk("status waveFile" && "
","",1,1)
"Length", p + 100)
Jeek
" && p,"",1)
buttonStillDown
buttonStillDown
status waveFile
position
tbkMCIchk
Length
seek waveFile to
tbkMCIchk
Unload
--close the wave file
tbkMCI("
waveFile","")
buttonDown
buttonDown
close waveFile
tbkMCI
Play From
("Play
tbkMCIchk("play waveFile
" &&
,"",1)
yieldApp()
buttonDown
buttonDown
Play from
play waveFile from
tbkMCIchk
yieldApp
Play To
"Length"
("Play
tbkMCIchk("play waveFile
" &&
,"",1)
yieldApp()
buttonDown
buttonDown
Length
Play to
play waveFile from 0 to
tbkMCIchk
yieldApp
Play From To
"Length"
("Play
f"0," &
tbkMCIchk("play waveFile
" &&
&&
,"",1)
yieldApp()
buttonDown
buttonDown
Length
Play from, to
play waveFile from
tbkMCIchk
yieldApp
Here's a fully functional sample page from the Multimedia Resource Kit's Widget book.
Try it!
"map"
buttonup
buttonup
buttonup
buttonup
previous
buttonup
buttonup
buttonup
buttonup
multimediaFont
e"multimediaFont"
enterpage
enterpage
reader
multimediaFont
The Multimedia Resource Kit Fontg
The Multimedia Resource Kit Font
The Multimedia Resource Kit comes with a font set designed for making multimedia device controls. Here's a sample of buttons for a control panel:
When you click these buttons, they animate by changing their captions.
Scroll the field to the left to see the characters that make up the Multimedia Resource Kit font.at make up the Multimedia Resource Kit font...a Resource Kit font.essage.
Scroll the field to the left to see the characters that make up the Multimedia Resource Kit font.racters that make up the Multimedia Resource Kit font.
Ansi Value Characterrrrr
Scroll the field to the left to see the characters that make up the Multimedia Resource Kit font. Here's a sample of buttons for a control panel:
When you click these buttons, they animate by changing their captions.
Scroll the field to the left to see the characters that make up the Multimedia Resource Kit font.at make up the Multimedia Resource Kit font...a Resource Kit font.essage.
Scroll the field to the left to see the characters that make up the Multimedia Resource Kit font.racters that make up the Multimedia Resource Kit font.
:PHYSSIZE
"map"
buttonup
buttonup
buttonup
buttonup
buttonDown
buttonDown
k:to2
i:to1
changeCaption "
7capt
buttonDown
changeCaption
buttonDown
0changeCaption
0changeCaption
0changeCaption
0changeCaption
changeCaption
buttonDown
buttonDown
o(41)
o(40)
o(39)
o(36)
o(33)
o(34)
o(35)
o(38)
buttonDown
buttonDown
buttonDown
buttonDown
k:to2
j:to1
buttonDown
buttonDown
k:to2
j:by1
j:to1
buttonDown
buttonDown
k:to2
j:to1
buttonDown
buttonDown
k:to2
j:to1
buttonDown
buttonDown
k:to2
j:to1
buttonDown
buttonDown
buttonDown
buttonDown
buttonDown
buttonDown
k:to1
buttonup
buttonup
previous
buttonup
buttonup
33 !
34 "
35 #
36 $
37 %
38 &
39 '
40 (
41 )
42 *
43 +
44 ,
45 -
46 .
47 /
48 0
49 1
50 2
51 3
52 4
53 5
54 6
55 7
56 8
57 9
59 ;
60 <
61 =
62 >
63 ?
64 @
65 A
66 B
67 C
68 D
69 E
70 F
71 G
72 H
73 I
74 J
75 K
76 L
77 M
78 N
79 O
80 P
81 Q
82 R
83 S
84 T
85 U
86 V
87 W
88 X
89 Y
90 Z
91 [
92 \
93 ]
94 ^
95 _
96 `
97 a
98 b
99 c
100 d
101 e
102 f
103 g
104 h
105 i
106 j
107 k
108 l
109 m
110 n
111 o
112 p
113 q
126 ~
4sPath
tbkMCI("
" &&
& "fstrev.wav alias s","")
-play s wait","")
Cclose s","")
buttonUp
buttonUp
fstrev.wav alias s
tbkMCI
play s wait
tbkMCI
close s
tbkMCI
sPath
Skip reverse
4sPath
tbkMCI("
" &&
& "skipprev.wav alias s","")
/play s wait","")
Eclose s","")
buttonUp
buttonUp
skipprev.wav alias s
tbkMCI
play s wait
tbkMCI
close s
tbkMCI
sPath
4sPath
tbkMCI("
" &&
.wav alias s","")
)play s wait","")
?close s","")
buttonUp
buttonUp
pause.wav alias s
tbkMCI
play s wait
tbkMCI
close s
tbkMCI
sPath
4sPath
tbkMCI("
" &&
& "skipnext.wav alias s","")
/play s wait","")
Eclose s","")
buttonUp
buttonUp
skipnext.wav alias s
tbkMCI
play s wait
tbkMCI
close s
tbkMCI
sPath
-+<2!
4sPath
tbkMCI("
" &&
& "play.wav alias s","")
s wait","")
?close s","")
buttonUp
buttonUp
play.wav alias s
tbkMCI
play s wait
tbkMCI
close s
tbkMCI
sPath
-9<3"
4sPath
tbkMCI("
" &&
& "fastfwd.wav alias s","")
.play s wait","")
Dclose s","")
buttonUp
buttonUp
fastfwd.wav alias s
tbkMCI
play s wait
tbkMCI
close s
tbkMCI
sPath
When you click these buttons, they animate by changing their captions.
Scroll the field to the left to see the characters that make up the Multimedia Resource Kit font.ons, they animate by changing their captions.
Scroll the field to the left to see the characters that make up the Multimedia Resource Kit font.at make up the Multimedia Resource Kit font...a Resource Kit font.essage.
Scroll the field to the left to see the characters that make up the Multimedia Resource Kit font.racters that make up the Multimedia Resource Kit font.
--Copyright
1991
Asymetrix Corporation
gives you permission
e, revise
reuse the
--individual
scripts
your own
--applications.
You may
x, however,
Sentire
--substantial part
redistribution
jproduct.
retains
copyright on
original elements
. Include
notice "Portions
are
they
--contain
copied
--The team: Craig Schwandt, Mike Miller, Glenn Morrissey
--Jim Gallant, Michelle DeWilliam, Shabbir Dahod, Ed Meadows
--Claude Ostyn, Bob Gallup,
TPurcell, Annie Pearson, Kim Rush
--Melody Christensen, Shelley Hughes,
rewien, et alius
4sPath
c"Page"
c"Edit"
c"Help"
e"Save"
e"SaveAs"
e"Import"
e"Export"
e"&Author" & Tab & "F3" alias "goAuthor"
c"&Index"
e"What
Multimedia ToolBook?"
NMultimediaToolBook"
e"Who Uses
Ck?"
whoUses"
ToolBookAndMM"
Resource Kit"
multimediaResourceKit"
e"Sample Widgets"
sampleWidgets"
Font"
multimediaFont"
e"Displaying Bitmaps"
displayingBitmaps"
e"Animation With DIBs"
AnimationWithDIBs"
e"More
moreDIBAnimation"
e"How
Order"
howToOrder"
"phoneNumber"
"1-800-448-6543"
-- tbkMMErrorString(12999)
FALSE
unlinkDLL "kernel"
tbkdlg.dll"
syschangesDB
toggleStatus
keyDownArrow
"map"
"MMRK"
"DLL"
"Dynamic Link Library"
"DIB"
"Device Independant
"Compact Disc"
"MIDI"
"Musical Instrument Digital Interface"
"VCR"
"Video Cassette Recorder"
multimediaToolbook
"multimediatoolbook"
animationWithDIBs
theTeam
4sFromAppSampler
8"appsamp.tbk"
reader
goAuthor
leavePage
multimediaToolbook
whoUses
leaveBook
ToolBookAndMM
multimediaResourceKit
enterpage
sampleWidgets
keyDown
multimediaFont
displayingBitmaps
enterbook
animationWithDIBs
buttonup
moreDIBAnimation
theTeam
toggleStatus
howToOrder
enterbook
sizeToPage
SaveAs
Import
Export
&Edit
&Author
goAuthor
&Index
What is Multimedia ToolBook?
MultimediaToolBook
Index
Who Uses Multimedia ToolBook?
whoUses
Index
ToolBook and Multimedia
ToolBookAndMM
Index
Multimedia Resource Kit
multimediaResourceKit
Index
Sample Widgets
sampleWidgets
Index
Multimedia Font
multimediaFont
Index
Displaying Bitmaps
displayingBitmaps
Index
Animation With DIBs
AnimationWithDIBs
Index
More DIB Animation
moreDIBAnimation
Index
How to Order
howToOrder
Index
phoneNumber
howToOrder
1-800-448-6543
sPath
leaveBook
kernel
tbkdlg.dll
toggleStatus
leavePage
enterpage
keyDown
ugoAuthor
buttonUp
previous
buttonUp
buttonup
hotword
Multimedia Resource Kit
Dynamic Link Library
Device Independant Bitmap
Compact Disc
Musical Instrument Digital Interface
Video Cassette Recorder
reader
goAuthor
author
multimediaToolbook
multimediatoolbook
whoUses
whoUses
ToolBookAndMM
aboutToolBook
multimediaResourceKit
multimediaResourceKit
sampleWidgets
sampleWidgets
multimediaFont
multimediaFont
displayingBitmaps
displayingBitmaps
animationWithDIBs
animationWithDIBs
moreDIBAnimation
moreDIBAnimation
theTeam
theTeam
howToOrder
howToOrder
appsamp.tbk
sFromAppSampler
Font"
multimediaFont"
e"Displaying Bitmaps"
displayingBitmaps"
e"Animation With DIBs"
AnimationWithDIBs"
e"More
moreDIBAnimation"
e"How
Order"
howToOrder"
"phoneNumber"
tbkMMErrorString(12999)
FALSE
unlinkDLL "kernel"
tbkdlg.dll"
syschangesDB
toggleStatus
keyDownArrow
"map"
"MMRK"
"DLL"
"Dynamic Link Library"
"DIB"
"Device Independant
"Compact Disc"
"MIDI"
"Musical Instrument Digital Interface"
"VCR"
"Video Cassette Recorder"
multimediaToolbook
"multimediatoolbook"
animationWithDIBs
theTeam
4sFromAppSampler
8"appsamp.tbk"
reader
goAuthor
leavePage
multimediaToolbook
whoUses
leaveBook
ToolBookAndMM
multimediaResourceKit
enterpage
sampleWidgets
keyDown
multimediaFont
displayingBitmaps
enterbook
animationWithDIBs
buttonup
moreDIBAnimation
theTeam
toggleStatus
howToOrder
enterbook
sizeToPage
SaveAs
Import
Export
&Edit
&Author
goAuthor
&Index
What is Multimedia ToolBook?
MultimediaToolBook
Index
Who Uses Multimedia ToolBook?
whoUses
Index
ToolBook and Multimedia
ToolBookAndMM
Index
Multimedia Resource Kit
multimediaResourceKit
Index
Sample Widgets
sampleWidgets
Index
Multimedia Font
multimediaFont
Index
Displaying Bitmaps
displayingBitmaps
Index
Animation With DIBs
AnimationWithDIBs
Index
More DIB Animation
moreDIBAnimation
Index
How to Order
howToOrder
Index
phoneNumber
howToOrder
tbkMMErrorString
sPath
leaveBook
kernel
tbkdlg.dll
toggleStatus
leavePage
enterpage
keyDown
ugoAuthor
buttonUp
previous
buttonUp
buttonup
hotword
Multimedia Resource Kit
Dynamic Link Library
Device Independant Bitmap
Compact Disc
Musical Instrument Digital Interface
Video Cassette Recorder
reader
goAuthor
author
multimediaToolbook
multimediatoolbook
whoUses
whoUses
ToolBookAndMM
aboutToolBook
multimediaResourceKit
multimediaResourceKit
sampleWidgets
sampleWidgets
multimediaFont
multimediaFont
displayingBitmaps
displayingBitmaps
animationWithDIBs
animationWithDIBs
moreDIBAnimation
moreDIBAnimation
theTeam
theTeam
howToOrder
howToOrder
appsamp.tbk
sFromAppSampler
widgets
howToOrder
4counter, pauseTime, sPath, s_waterNoise
e"animationWithDIBs"
tbkMCI("
" &&
F & "
C.wav alias
P","")
tbkBitmap("
" &&
v & "w1.dib" && "
2w1 style child
" && sysClientHandle)
tbkBitmapchk("
398 14",1)
ew1 state
" &&
& "w" & i & ".
" && \
"w" & (i) && "
" &&
ew" & i && "
398 14",1)
sliderPosition
close w" & i)
"ePage"
","")
ew" &
&& "
ew" & (
- 1) && "
ew12
play
0","")
yieldApp()
= 13
terpage
leavepage
enterpage
enterpage
animationWithDIBs
water.wav alias water
tbkMCI
w1.dib
alias w1 style child parent
tbkBitmap
window w1 position 398 14
tbkBitmapchk
window w1 state show
tbkBitmap
alias
style child parent
tbkBitmap
window w
position 398 14
tbkBitmapchk
slider
sliderPosition
waterNoise
counter
pauseTime
sPath
s_waterNoise
leavepage
close w
tbkBitmap
ePage
ePage
close water
tbkMCI
pause
window w
state show
tbkBitmap
window w
state hide
tbkBitmap
window w12 state hide
tbkBitmap
play water from 0
tbkMCI
yieldApp
pauseTime
counter
s_waterNoise
animationWithDIBs
TBKWidgets
gD|D|}
xidle
xidle
System
gD|D|
Tms Rmn
gD|D|
gD|D|
s Rmn
gD|D|
gD|D|
gD|D|}
gD|D|
UE !g`
gD|D|
Courier
gD|D|
TBKWidgets
gD|D|}
U\D|D|-
TBKWidgets
\D|D|
M\D|D|u
System
gD|D|}
M\D|D|-
gD|D|}
gD|D|}
olBook Sampler
Multimedia ToolBook Sampler
M\D|D|-
KWidgets
gD|D|}
keyChar
author
goAuthor
author
whatIsToolbook
whatIsToolBook
aboutToolBook
aboutToolBook
multimediaResourceKit
multimediaResourceKit
displayingBitmaps
e"displayingBitmaps"
tbkBitmap("close f1")
enterpage
leavePage
enterpage
reader
displayingBitmaps
leavePage
close f1
tbkBitmap
close f2
tbkBitmap
close
The Asymetrix Multimedia Resource Kit includes a dynamic link library that allows you to display bitmaps in a variety of window styles that include overlapping, child and popup windows. You can set the position and size of a bitmap window, the text of its caption, and can minimize, maximize or restore it.e or restore it. You can also capture windows messages from a bitmap's window and send messages to your book with ToolBook 1.5's translateWindowsMessage control structure. structure. . or restore it.t.............
:PHYSSIZE
4sPath
tbkBitmap("close f2")
" &&
; & "flower1.dib alias f1
" &&
80,90")
" &&
ef1 state
buttonup
buttonup
close f2
tbkBitmap
close
flower1.dib alias f1 parent
tbkBitmap
window f1 position 80,90
tbkBitmap
window f1 text
tbkBitmap
window f1 state show
tbkBitmap
sPath
Overlapping Window
4sPath
tbkBitmap("close f1")
" &&
; & "flower2.dib alias f2 style child
" &&
ef2 state
70,70")
bmpHandle
status f2
translatewindowmessage
bmpButtonup
BMPbuttonUp
buttonup
BMPbuttonUp
buttonup
close f1
tbkBitmap
close
flower2.dib alias f2 style child parent
tbkBitmap
window f2 state hide
tbkBitmap
window f2 position 70,70
tbkBitmap
window f2 state show
tbkBitmap
status f2 window
tbkBitmap
bmpButtonup
bmpHandle
sPath
BMPbuttonUp
close f2
tbkBitmap
close
Child Window
Displaying Bitmaps
Displaying Bitmaps
"map"
buttonup
buttonup
buttonup
buttonup
buttonup
buttonup
previous
buttonup
buttonup
Click this button to see an example of a child window. It has no border, close box or title bar.x or title bar.
close
Click the bitmap to close it.
and the different types of windows
:PHYSSIZE
Click this button to see an example of an overlapping Window. It has a border, close box and title bar.
MoreDIBAnimation
4sPath, x, y
e"moreDIBAnimation"
tbkBitmap("
" &&
F & "nar.dib alias
style child
" &&
-420, 50")
C state
close
"stilldown"
enterPage
leavePage
enterPage
reader
moreDIBAnimation
nar.dib alias nar style child parent
tbkBitmap
window nar position -420, 50
tbkBitmap
window nar state show
tbkBitmap
sPath
leavePage
window nar state hide
tbkBitmap
close nar
tbkBitmap
stilldown
Here's another example of animating bitmaps. This shows how you can move a bitmap with buttonStillDown messages....messages.
tbkBitmap("
enar state
"stillDown"
B"stillDownOK"
buttonup
buttonup
window nar state hide
tbkBitmap
stillDown
stillDownOK
animationWithDIBs
More Animation with Bitmaps
More Animation with Bitmaps
stilldown
--Script to move a bitmap
to handle buttonstilldown
system x, y
if x > -920
decrement x by 20
get tbkbitmap("window nar position" && x & "," & y)
endbitmap("window nar state show")
endd end
endcounter = 13
set counter to 1
pause 25 ticks
end
if speed > 0
pause speed ticks
end
if counter = 1
get tbkBitmap("window w12 state hide")
else
get tbkBitmap("window w" & (counter - 1) && \
"state hide")
end
stillDownOK
tbkBitmap("
enar state
buttonup
buttonup
window nar state show
tbkBitmap
4x, y
x < -20
tbkbitmap("
enar
" && x & "," & y)
buttondown
buttonstilldown
buttondown
buttonStillDown
buttonstilldown
window nar position
tbkbitmap
4x, y
x > -920
tbkbitmap("
enar
" && x & "," & y)
buttondown
buttonstilldown
buttondown
buttonStillDown
buttonstilldown
window nar position
tbkbitmap
"map"
buttonup
buttonup
buttonup
buttonup
previous
buttonup
buttonup
buttonup
buttonup
!d*\0T6J<
More Animation
animationWithDIBs
Sampler Map
Sampler Map
Click the graphic buttons below to go to a topic. Click the Map button at the bottom right corner of any other page to return here.e.re.
buttonup
buttonup
"howToOrder"
buttonup
buttonup
howToOrder
How to Order Multimedia ToolBook
"multimediaToolBook"
buttondown
buttonUp
buttondown
buttonUp
multimediaToolBook
:PHYSSIZE
"whoUses"
buttondown
buttonUp
buttondown
buttonUp
whoUses
:PHYSSIZE
buttondown
buttonUp
buttondown
buttonUp
aboutToolBook
script
:PHYSSIZE
"multimediaResourceKit"
buttondown
buttonUp
buttondown
buttonUp
multimediaResourceKit
:PHYSSIZE
"sampleWidgets"
buttondown
buttonUp
buttondown
buttonUp
sampleWidgets
Skip reverse
Zobjs
buttonD
"multimediaFont"
buttondown
buttonUp
buttondown
JbuttonD
buttonUp
multimediaFont
buttonD
o(41)
o(40)
o(39)
o(36)
o(33)
o(34)
o(35)
o(38)
buttonD
buttonD
buttonD
buttonD
buttonD
k:to2
j:to1
buttonD
buttonD
buttonD
k:to2
i:to1
buttonD
changeCaption "
7capt
buttonD
changeCaption
buttonD
0changeCaption
0changeCaption
0changeCaption
0changeCaption
changeCaption
"displayingBitmaps"
buttondown
buttonUp
buttondown
buttonUp
displayingBitmaps
R0:PHYSSIZE
"animationWithDIBs"
buttondown
buttonUp
buttondown
buttonUp
animationWithDIBs
J6:PHYSSIZE
"moreDIBAnimation"
buttondown
buttonUp
buttondown
buttonUp
moreDIBAnimation
@<:PHYSSIZE
What is Multimedia
ToolBook?
Who Uses
ToolBook?
About Multimedia
ToolBook??
Multimedia Resource Kitok?k?
Widgets
Multimedia
Fontt
Displaying
Bitmapss
Animation
With Bitmapss
MultimediaToolBook
lBook
e"whatIsMultimediaToolBook"
"apps"
enterPage
leavePage
enterPage
reader
whatIsMultimediaToolBook
leavePage
:PHYSSIZE
"map"
buttonup
buttonup
buttonup
buttonup
previous
buttonup
buttonup
buttonup
buttonup
Multimedia ToolBook is an easy to use authoring environment for making multimedia applications and presentations. It includes ToolBook 1.5 and the Asymetrix Multimedia Resource Kit..ing to the multimedia extensions for Microsoft Windows 3.0.
s you create applications that come alive with video, sound, and animation by linking to the multimedia extensions for Microsoft Windows 3.0.
.5's built in support for multimedia lets you import 256-color device-independent bitmaps (DIBs) and other graphic formats. Make hypertext and hypermedia links with no programming using the Link To and Link With features. Animation sequences are easily created with the script recorder. ToolBook also supports multiple instances and Dynamic Data Exchange (DDE). Extend ToolBook by linking to Dynamic Link Libraries (DLLs). You can even access callback functionality for Windows messages by using the OpenScript TranslateWindowsMessage control structure.
The Multimedia Resource Kit lets you create applications that come alive with video, sound, and animation by linking to the multimedia extensions for Microsoft Windows 3.0.
custom applications for Microsoft
Windows.
The MMRK lets you create applications that come alive with video, sound, and animation by linking to the multimedia extensions for Microsoft Windows 3.0.
.5's built in support for multimedia lets you import 256-color device-independent bitmaps (DIBs) and other graphic formats. Make hypertext and hypermedia links with no programming using the Link To and Link With features. Animation sequences are easily created with the script recorder. ToolBook also supports multiple instances and Dynamic Data Exchange (DDE). Extend ToolBook by linking to Dynamic Link Libraries (DLLs). You can even access callback functionality for Windows messages by using the OpenScript TranslateWindowsMessage control structure.
What is Multimedia ToolBook?3
What is Multimedia ToolBook?
ToolBook 1.5 is a graphical development
tool that lets you quickly build and modify
custom applications for Microsoft
Windows.
"apps"
B"ok"
buttonUp
buttonUp
:PHYSSIZE
Interactive training packages, help systems, and courseware
Applications that integrate text, graphics, and multimedia elements
Animated and interactive charts, graphics, and presentations
Catalogs, address lists, and online text and visual databases
Graphical application prototypes
Graphical front ends for other programs, such as databases
Personal databases
Button
Button
Button
Button
Button
Button
Button
buttonup
buttonup
aboutToolBook
4sPath
tbkMCI("
" &&
& "chord.wav alias s","")
e"ToolBookAndMM"
_close s", "")
enterpage
leavepage
enterpage
chord.wav alias s
tbkMCI
reader
ToolBookAndMM
sPath
leavepage
close s
tbkMCI
extensibility
ToolBook supports Dynamic Data Exchange for controlling and exchanging data with other Windows applications like Excel or Word for Windows. ToolBook also allows you to use any Windows Dynamic Link Libraries (DLLs). This makes creating front ends to databases a snap.
graphics
ToolBook 1.5 allows you import a variety of graphics files including 256-color device-independent bitmaps and windows metafiles.
animation
Create animation sequences with no programming by using ToolBook's Script Recorder.
hypertext
Make hypertext and hypermedia links with no programming using ToolBook's Link To and Link With features. Click buttons, hotwords or any object to navigate to additional information or launch other applications.
ToolBook 1.5 and Multimedia
ToolBook 1.5 and Multimediatimediaedia
With ToolBook 1.5, you can build multimedia
applications piece by piece by creating graphical
objects as easily as using a draw program.
ToolBook is extensible , it comes with a full-
featured progamming language and debugger.
ToolBook 1.5 has built in support for multimedia
including graphics , hypertext and animation .
extensibility
buttonup
buttonup
extensibility
graphics
buttonUp
buttonUp
graphics
hypertext
buttonUp
buttonUp
hypertext
**&a
animation
buttonup
buttonup
animation
Background
In ToolBook's event driven system, messages travel up the object heirarchy. Click the Play Wave File button below to see how a buttonUp message travels up the hierarchy to the book's script, where a buttonUp handler plays a wave file..file.wave file.a wave file.ript's buttonUp handler then plays a wave file..s a wave file......n, to the page, to the page's background, and finally to the book. The book script's buttonUp handler then plays a wave file.le..s a wave file........
script
to handle buttonUp
get tbkMCI("play waveFile", "")
to handle buttonUp
get tbkMCI("stop cdAudio", "")
endbkMCI("stop cdAudio", "")
:PHYSSIZE
:PHYSSIZE
message
"message"
1410,4740
H110,0
"star"
2295,4740
H150,0
3315,4740
H140,0
-1000, 4740
tbkMCI("play s
0 wait", "")
buttonUp
buttonUp
message
message
message
message
message
message
message
script
script
play s from 0 wait
tbkMCI
script
Play Wave File
"map"
buttonup
buttonup
buttonup
buttonup
buttonup
buttonup
previous
buttonup
buttonup
Button Page Background Book Scripttttttttttttttttt
Book Script
multimediaResourceKit
e"multimediaResourceKit"
enterPage
enterPage
reader
multimediaResourceKit
The Multimedia Resource Kit
The Multimedia Resource Kitsource Kit
The Multimedia Resource Kit supports compact disc audio, waveform audio cards, laserdisc players, video overlay boards, animation software, MIDI sequencers and bitmap graphics. The Multimedia Resource Kit includes:
cation to control the above devices. We've already done the scripting; all you do is cut and paste. Widgets look like the controls on your CD player or VCR, so they are easy to understand and use.
Media control objects, known as widgets, that you can paste into your application to control the above devices. We've already done the scripting; all you do is cut and paste. Widgets look like the controls on your CD player or VCR, so they are easy to understand and use.
The MMRK font to help you create animated control panels, and sample applications that demonstrate how to use the MMRK tools.
Online and print documentation to guide you through multimedia basics and provide details about the MMRK function calls.........rovide details about the MMRK function calls.
\tion calls.
"map"
buttonup
buttonup
buttonup
buttonup
buttonup
buttonup
previous
buttonup
buttonup
:PHYSSIZE
The MMRK font to help you create animated control panels, and sample applications that demonstrate how to use the MMRK tools.
multimediafont
buttonUp
buttonUp
zmultimediafont
Online and print documentation to guide you through multimedia basics and provide details about the MMRK function calls.
:PHYSSIZE
displayingBitmaps
4sPath
tbkmci("
" &&
" & "opener.wav alias o",
.play o","")
tbkmmnotify
eclose o","")
enterpage
reader
tbkmmnotify
reader
enterpage
enterpage
reader
opener.wav alias o
tbkmci
play o
tbkmci
sPath
tbkmmnotify
close o
tbkmci
toolbook
orange
Welcome to Multimedia ToolBook
and Microsoft Windows 3.0 with multimedia extensions 1.0xtensions 1.0
Welcome to Multimedia ToolBook
and Microsoft Windows 3.0 with multimedia extensions 1.0xtensions 1.0
paintObject id 11 of page id 13,group "foo",paintObject id 10 of page id 13,group "foo",paintObject id 9 of page id 13,group "foo",paintObject id 8 of page id 13,group "foo",paintObject id 7 of page id 13,group "foo",paintObject id 6 of page id 13,group "foo",paintObject id 5 of page id 13,group "foo",paintObject id 4 of page id 13,group "foo",paintObject id 3 of page id 13,group "foo",paintObject id 2 of page id 13,group "foo",paintObject id 1 of page id 13,group "foo",paintObject id 12 of page id 13
In ToolBook, you can create animation by pasting or importing bitmaps into a series of pages, then flipping the pages. This method works like traditional cell animation.
tionent with ToolBook 1.5's new image control features and rapidly display a stack of bitmaps.tures and rapidly display a stack of bitmaps.rapidly display a stack of bitmaps.bitmaps.********************************************
animationWithDIBs
Animation with Bitmaps_
Animation with Bitmaps
"map"
buttonup
buttonup
buttonup
buttonup
buttonup
buttonup
previous
buttonup
buttonup
pause
buttondown
buttonup
buttondown
buttonup
Pause
The Multimedia Resource Kit provides other animation options. For example, you can create a series of bitmap files, and open and close them, or hide and show them. It's easy to control the animation speed with slider objects from the Multimedia Widgets book, or from ordinary ToolBook objects such as buttons and scrollbar fields.
4sPath
tbkmci("
" &&
& "hideShow.wav alias h",
/play h","")
yieldApp()
B"idleOK"
tbkmmNotify
close h","")
buttonup
tbkmmNotify
buttonup
hideShow.wav alias h
tbkmci
play h
tbkmci
yieldApp
idleOK
sPath
tbkmmNotify
close h
tbkmci
Show Animation Script
4sPath
tbkmci("
" &&
& "openDIB.wav alias w","")
.play w","")
yieldApp()
"ePage"
B"epageOK"
tbkmmNotify
close w","")
buttonUp
tbkmmNotify
buttonUp
openDIB.wav alias w
tbkmci
play w
tbkmci
yieldApp
ePage
ePage
epageOK
sPath
tbkmmNotify
close w
tbkmci
Show Initialization Script
Speed Controlol
slider
txClassName
Slider
thumb
4pauseTime
sliderPosition
%".00"
50 - (
* 50)
buttonStillDown
buttonStillDown
sliderPosition
pauseTime
txClassName
hSliderThumb
glide
roundedrectangle id 54 of page id 15
width
follower
rectangle id 6 of page id 15
Button
waterNoise
4s_WaterNoise
buttonUp
buttonUp
s_WaterNoise
Water Sound
--Script to animate 12 bitmaps
to handle idle
system pauseTime, counter
if not invert of button "pause"
get tbkBitmap("window w" & counter && "state show")
if counter > 1
get tbkBitmap("window w" & (counter - 1) &&\
"state hide")
else
get tbkBitmap("window w12 state hide")
end
if speed > 0
pause pauseTime ticks
end
increment counter
if counter = 13
set counter to 1
pause 25 ticks
end
end
endddddddnd
idleOK
tbkmci("close h","")
buttonup
buttonup
close h
tbkmci
ePage
--Script to initialize 12 bitmaps
to handle enterpage
system counter
step i from 1 to 12
get tbkBitmap("open w" & i & ".dib alias w" & i && \
"style child parent" && sysClientHandle)
end
set counter to 1
forward
eld "speed" to 0
send textScrolled to field "speed"
forward
rward
field "speed" to 0
send textScrolled to field "speed"
forward
ePageOK
tbkmci("close w","")
buttonup
buttonup
close w
tbkmci
Photos by Darrell Jones
--Copyright
1991
Asymetrix Corporation
gives you permission
e, revise
reuse the
--individual
scripts
your own
--applications.
You may
x, however,
Sentire
--substantial part
redistribution
jproduct.
retains
copyright on
original elements
. Include
notice "Portions
are
they
--contain
copied
--The team: Craig Schwandt, Mike Miller, Glenn Morrissey
--Jim Gallant, Michelle DeWilliam, Shabbir Dahod, Ed Meadows