psaveIds 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 psaveBounds 4950,1815,9180,5895,315,1815,4545,5895,7515,6315,8910,6750,5790,6330,7185,6765, Reference Field 10,demo1.tbk,send next 20,demo1.tbk,send next 25,demo1.tbk,send next 32,demo1.tbk,send exit send exit demo1,send exit demo1,send exit Working Field ,demo1.tbk,send exit ,demo1.tbk,send exit ,demo1.tbk,send exit ,demo1.tbk,send exit ,send exit BUTTONDOWN STARTDEMO BUTTONDOWN BUTTONDOWN STARTDEMO Start aB|B| Courier aB|B| Asymetrix demo master control book System control fields Working field Reference fielddd psaveIds 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 psaveBounds 4950,1815,9180,5895,315,1815,4545,5895,7515,6315,8910,6750,5790,6330,7185,6765, Reference Field Working Field BUTTONDOWN STARTDEMO BUTTONDOWN BUTTONDOWN STARTDEMO Start ds from a reference to a working container, etc) When the show starts a button will be clicked and this book will act as a sequencer. It will use a field as a B \"@ psaveIds 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 psaveBounds 4950,1815,9180,5895,315,1815,4545,5895,7515,6315,8910,6750,5790,6330,7185,6765, Reference Field 0,frgnd.tbk,show mainwindow 0,frgnd.tbk,send _enterpage 56,frgnd.tbk,fxwipe left fast to next page 19,frgnd.tbk,go next page 5,frgnd.tbk,go next page 5,frgnd.tbk,go next page 19,frgnd.tbk,go next page 5,frgnd.tbk,fxwipe left fast to next page 5,frgnd.tbk,fxwipe left fast to next page 5,frgnd.tbk,fxwipe left fast to next page 5,frgnd.tbk,fxwipe left fast to next page 5,frgnd.tbk,fxwipe left fast to next page 5,bkgnd.tbk,show mainWindow 0,bkgnd.tbk,get bringwindowtotop(syswindowhandle) 0,bkgnd.tbk,go to page 2 5,fgnd.tbk,go to page 11 5,fgnd.tbk,go next page 12,fgnd.tbk,fxwipe left fast to next page 5,fgnd.tbk,fxwipe left fast to next page 5,fgnd.tbk,fxwipe left fast to next page 5,fgnd.tbk,fxwipe left fast to next page 5,fgnd.tbk,fxwipe left fast to next page 10,fgnd.tbk,go next page 10,bkgnd.tbk,get bringWindowToFront(sysWindowHandle))))))))))))))))))))))))))))))))))) Working Field setup buttonup buttonup setup Hide everything and get everything ready to go. --ast to next page 113,frgnd.tbk,fxwipe left fast to next page 118,frgnd.tbk,fxwipe left fast to next page 123,frgnd.tbk,fxwipe left fast to next page 128,frgnd.tbk,fxwipe left fast to next page 133,bkgnd.tbk,show mainWindow 133,bkgnd.tbk,go to page 2 138,fgnd.tbk,go to page 11 143,fgnd.tbk,go next page 155,fgnd.tbk,fxwipe left fast to next page 160,fgnd.tbk,fxwipe left fast to next page 165,fgnd.tbk,fxwipe left fast to next page 170,fgnd.tbk,fxwipe left fast to next page 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 setup buttonup buttonup setup Hide everything and get everything ready to go. show mainwindow; send sizetopage; set syslevel to author toolbook i:to1 svdemobooknames setup buttonup buttonup setup Hide everything and get everything ready to go. setup buttonup buttonup setup buttonup setup INITBOOKS FIXIT STARTDEMO demo2 This is the book used to control the Asymetrix demo show. It will control the following: Another instance of ToolBook. A Midi board A laser disc player 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: 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). Initialize the internal environment as necessary. (Dll linking, copy the commands from a reference to a working container, etc) 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. 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..................... System s Rmn aB|B| "reference "working B"foo" setup ,7250 -4,-41,662,501 Link user functions showwindow( gsetActiveWindow( bringWindowToTop( Kill other instances ToolBook that are out there x"OK" --close excel )][quit()]" Excel x"OK" --Move desired location (""macro3.xlm!Record3"")]" "bkgnd.tbk" "frgnd. toolbook bringwindowtotop( "multi2. Set up our "Reference Field" "Working default "Everything's ready now, just hit the dismissing Escape 'demo control STARTDEMO ZvStartTime, vTargetTime, vCommand, vCurrentSysTime Clean up screen times Main loop, will no more commands Get a [container First see zsomething. current (relative) correcting possibly going past midnight. H86400 Wait DOCOMMAND fCommand , vExecuteLine, vCommandLength "sound" " && && "Sound: playing " & "Video" " && : showing " & toolBook startdemo rbook leavebook STARTDEMO setup DOCOMMAND enterbook keydown enterbook sizetopage reference field working field setup reference field working field seconds showwindow setActiveWindow bringWindowToTop name of this book send exit [close(false)][close(false)][quit()] [run("macro3.xlm!Record3")] bkgnd.tbk frgnd.tbk hide mainwindow toolbook frgnd.tbk bringwindowtotop multi2.tbk send sizeToPage;hide mainwindow toolbook multi2.tbk Reference Field Working Field Everything's ready now, just hit the space bar after dismissing this DB, or hit Escape to show the demo control book's window. default Excel ToolBook leavebook STARTDEMO Working Field Working Field Working Field DOCOMMAND vStartTime vTargetTime vCommand vCurrentSysTime DOCOMMAND sound Sound: playing Video Video: showing toolBook vCommand vTarget vExecuteLine vCommandLength fCommand keydown startdemo show mainwindow; send sizetopage; set syslevel to author frgnd.tbk show mainwindow; send sizetopage; set syslevel to author bkgnd.tbk sizetopage sizetopage reference field working field toolbook