home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / multimed.zip / ORIGCTRL.TBK (.txt) < prev    next >
Asymetrix ToolBook File  |  1990-04-16  |  19KB  |  263 lines

  1. psaveIds
  2. field id 0 of page id 0,field id 1 of page id 0,button id 5 of page id 0,button id 6 of page id 0
  3. psaveBounds
  4. 4950,1815,9180,5895,315,1815,4545,5895,7515,6315,8910,6750,5790,6330,7185,6765,
  5. Reference Field
  6. 10,demo1.tbk,send next
  7. 20,demo1.tbk,send next
  8. 25,demo1.tbk,send next
  9. 32,demo1.tbk,send exit
  10. send exit
  11. demo1,send exit
  12. demo1,send exit
  13. Working Field
  14. ,demo1.tbk,send exit
  15. ,demo1.tbk,send exit
  16. ,demo1.tbk,send exit
  17. ,demo1.tbk,send exit
  18. ,send exit
  19. BUTTONDOWN
  20. STARTDEMO
  21. BUTTONDOWN
  22. BUTTONDOWN
  23. STARTDEMO
  24. Start
  25. aB|B|
  26. Courier
  27. aB|B|
  28. Asymetrix demo master control book
  29.             System control fields
  30. Working field                Reference fielddd
  31. psaveIds
  32. field id 0 of page id 0,field id 1 of page id 0,button id 5 of page id 0,button id 6 of page id 0
  33. psaveBounds
  34. 4950,1815,9180,5895,315,1815,4545,5895,7515,6315,8910,6750,5790,6330,7185,6765,
  35. Reference Field
  36. Working Field
  37. BUTTONDOWN
  38. STARTDEMO
  39. BUTTONDOWN
  40. BUTTONDOWN
  41. STARTDEMO
  42. Start
  43. ds from a reference to a working container, etc)
  44. When the show starts a button will be clicked and this book will act as a sequencer.  It will use a field as a                 
  45. B    \"@
  46. psaveIds
  47. field id 0 of page id 0,field id 1 of page id 0,button id 5 of page id 0,button id 6 of page id 0
  48. psaveBounds
  49. 4950,1815,9180,5895,315,1815,4545,5895,7515,6315,8910,6750,5790,6330,7185,6765,
  50. Reference Field
  51. 0,frgnd.tbk,show mainwindow
  52. 0,frgnd.tbk,send _enterpage
  53. 56,frgnd.tbk,fxwipe left fast to next page
  54. 19,frgnd.tbk,go next page
  55. 5,frgnd.tbk,go next page
  56. 5,frgnd.tbk,go next page
  57. 19,frgnd.tbk,go next page
  58. 5,frgnd.tbk,fxwipe left fast to next page
  59. 5,frgnd.tbk,fxwipe left fast to next page
  60. 5,frgnd.tbk,fxwipe left fast to next page
  61. 5,frgnd.tbk,fxwipe left fast to next page
  62. 5,frgnd.tbk,fxwipe left fast to next page
  63. 5,bkgnd.tbk,show mainWindow
  64. 0,bkgnd.tbk,get bringwindowtotop(syswindowhandle)
  65. 0,bkgnd.tbk,go to page 2
  66. 5,fgnd.tbk,go to page 11
  67. 5,fgnd.tbk,go next page
  68. 12,fgnd.tbk,fxwipe left fast to next page
  69. 5,fgnd.tbk,fxwipe left fast to next page
  70. 5,fgnd.tbk,fxwipe left fast to next page
  71. 5,fgnd.tbk,fxwipe left fast to next page
  72. 5,fgnd.tbk,fxwipe left fast to next page
  73. 10,fgnd.tbk,go next page
  74. 10,bkgnd.tbk,get bringWindowToFront(sysWindowHandle)))))))))))))))))))))))))))))))))))
  75. Working Field
  76. setup
  77. buttonup
  78. buttonup
  79. setup
  80. Hide everything and get everything ready to go.
  81. --ast to next page
  82. 113,frgnd.tbk,fxwipe left fast to next page
  83. 118,frgnd.tbk,fxwipe left fast to next page
  84. 123,frgnd.tbk,fxwipe left fast to next page
  85. 128,frgnd.tbk,fxwipe left fast to next page
  86. 133,bkgnd.tbk,show mainWindow
  87. 133,bkgnd.tbk,go to page 2
  88. 138,fgnd.tbk,go to page 11
  89. 143,fgnd.tbk,go next page
  90. 155,fgnd.tbk,fxwipe left fast to next page
  91. 160,fgnd.tbk,fxwipe left fast to next page
  92. 165,fgnd.tbk,fxwipe left fast to next page
  93. 170,fgnd.tbk,fxwipe left fast to next page
  94. 175,fgnd.tbk,fxwipe left fast to next page next pagefxwipe left fast to next pagefxwipe left fast to next pagefxwipe left fast to next page
  95. setup
  96. buttonup
  97. buttonup
  98. setup
  99. Hide everything and get everything ready to go.
  100. show mainwindow; send sizetopage; set syslevel to author
  101. toolbook
  102. i:to1
  103. svdemobooknames
  104. setup
  105. buttonup
  106. buttonup
  107. setup
  108. Hide everything and get everything ready to go.
  109. setup
  110. buttonup
  111. buttonup
  112. setup
  113. buttonup
  114. setup
  115. INITBOOKS
  116. FIXIT
  117. STARTDEMO
  118. demo2
  119.     This is the book used to control the Asymetrix demo show.  It will control the following:
  120.         Another instance of ToolBook.
  121.         A Midi board
  122.         A laser disc player
  123.     The list of commands that this book uses as input will be stored in a field.  When we enter the book we will do the following:  
  124.     Size the screen so that the monitor screen will look like a TV screen (so that we can have the Asymetrix logo in back, full-screen).
  125.     Initialize the internal environment as necessary. (Dll linking, copy the commands from a reference to a working container, etc)
  126.     When the show starts a button will be clicked and this book will act as a sequencer.  It will use textlines of a field as a command source and send them off to various other "receivers" to be executed. 
  127.     The format of the list will be:  each command is a textLine in our working field.  When the book is started, the first command is executed. The commands will have the following format:  Time, destination id, and command text.  By definition the first line is executed as soon as the show starts.  We will grab the system time and that will become our zero time, & everything else is relative to this, EXCEPT that we have to be able to re-synchronize with reality in case of any problems.  We also have to be able to allow for the failure of any component.....................
  128. System
  129. s Rmn
  130. aB|B|
  131. "reference 
  132. "working 
  133. B"foo"
  134. setup
  135. ,7250
  136. -4,-41,662,501
  137. Link user functions
  138. showwindow(
  139. gsetActiveWindow(
  140. bringWindowToTop(
  141. Kill 
  142. other instances 
  143. ToolBook that are out there
  144. x"OK"
  145. --close 
  146. excel
  147. )][quit()]" 
  148.  Excel 
  149. x"OK"
  150. --Move 
  151. desired location
  152. (""macro3.xlm!Record3"")]" 
  153. "bkgnd.tbk"
  154. "frgnd.
  155.  toolbook 
  156. bringwindowtotop(
  157. "multi2.
  158. Set up our 
  159. "Reference Field" 
  160. "Working 
  161. default
  162. "Everything's ready now, just hit the 
  163. dismissing 
  164. Escape 
  165. 'demo control 
  166. STARTDEMO
  167. ZvStartTime, vTargetTime, vCommand, vCurrentSysTime
  168. Clean up 
  169. screen
  170. times
  171. Main loop, will 
  172. no more commands 
  173. Get a 
  174. [container
  175. First see 
  176. zsomething.
  177. current (relative) 
  178. correcting 
  179. possibly going past midnight.
  180. H86400
  181. Wait 
  182. DOCOMMAND 
  183. fCommand
  184. , vExecuteLine, vCommandLength
  185. "sound"
  186. " && 
  187. && "Sound: playing " & 
  188. "Video"
  189. " && 
  190. : showing " & 
  191.  toolBook 
  192. startdemo
  193. rbook
  194. leavebook
  195. STARTDEMO
  196. setup
  197. DOCOMMAND
  198. enterbook
  199. keydown
  200. enterbook
  201. sizetopage
  202. reference field
  203. working field
  204. setup
  205. reference field
  206. working field
  207. seconds
  208. showwindow
  209. setActiveWindow
  210. bringWindowToTop
  211. name of this book
  212. send exit
  213. [close(false)][close(false)][quit()]
  214. [run("macro3.xlm!Record3")]
  215. bkgnd.tbk
  216. frgnd.tbk
  217. hide mainwindow
  218. toolbook
  219. frgnd.tbk
  220. bringwindowtotop
  221. multi2.tbk
  222. send sizeToPage;hide mainwindow
  223. toolbook
  224. multi2.tbk
  225. Reference Field
  226. Working Field
  227. Everything's ready now, just hit the space bar after dismissing this DB,  or hit Escape to show the demo control book's window.
  228. default
  229. Excel
  230. ToolBook
  231. leavebook
  232. STARTDEMO
  233. Working Field
  234. Working Field
  235. Working Field
  236. DOCOMMAND
  237. vStartTime
  238. vTargetTime
  239. vCommand
  240. vCurrentSysTime
  241. DOCOMMAND
  242. sound
  243. Sound: playing 
  244. Video
  245. Video: showing 
  246. toolBook
  247. vCommand
  248. vTarget
  249. vExecuteLine
  250. vCommandLength
  251. fCommand
  252. keydown
  253. startdemo
  254. show mainwindow; send sizetopage; set syslevel to author
  255. frgnd.tbk
  256. show mainwindow; send sizetopage; set syslevel to author
  257. bkgnd.tbk
  258. sizetopage
  259. sizetopage
  260. reference field
  261. working field
  262. toolbook
  263.