home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / multimedia / scala / HELP / TIMING1.SCA < prev    next >
Encoding:
Text File  |  1996-05-14  |  4.6 KB  |  93 lines

  1. !ScalaScript
  2. {
  3. Sequence:
  4. :"SubScript"
  5. {
  6. Group:
  7. BoxX.1=139;
  8. BoxY.1=115;
  9. BoxX.2=0;
  10. BoxY.2=0;
  11. BoxX=BoxX.1;
  12. BoxY=BoxY.1;
  13. BoxW=360;
  14. BoxH=249;
  15. Descr="Click a button to get information about it!";
  16. Picture("Scala:\help\graphics\timing.gif",UserPalette(RGBPen(1,0,16777215,12632256,5592405,8553090,11184810)));
  17. pagename="Timing menu";
  18. pagedescr="Lets you control the flow of pages or elements in the script by time and interactivity.";
  19. descr="Click a button to get information about it!";
  20. title="";
  21. Button(Normal(Box(620,390,19,25,Style(Norm))),Highlight(Box(620,390,19,25,Style(High))),Select(Box(620,390,19,25,Style(Sel)),Use(infobutton)));
  22. Button(Normal(Box(4,420,394,25,Style(Norm))),Highlight(Box(4,420,394,25,Style(High))),Select(Box(4,420,394,25,Style(Sel)),Use(timeselect)));
  23. Button(Normal(Box(131,450,202,25,Style(Norm))),Highlight(Box(131,450,202,25,Style(High))),Select(Box(131,450,202,25,Style(Sel)),Use(resetoninput)));
  24. Button(Normal(Box(4,450,122,25,Style(Norm))),Highlight(Box(4,450,122,25,Style(High))),Select(Box(4,450,122,25,Style(Sel)),Use(preview)));
  25. Button(Normal(Box(513,420,122,25,Style(Norm))),Highlight(Box(513,420,122,25,Style(High))),Select(Box(513,420,122,25,Style(Sel)),Use(okbutton)));
  26. Button(Normal(Box(513,450,122,25,Style(Norm))),Highlight(Box(513,450,122,25,Style(High))),Select(Box(513,450,122,25,Style(Sel)),Use(cancelbutton)));
  27. Wait();
  28. Sequence:
  29. Use(SetUp);
  30. Use(DrawBox);
  31. Resources:
  32. :infobutton
  33. {
  34. title="Information button";
  35. text[1]="Switches Scala into Help mode. ";
  36. descr=text[1];
  37. block=1;
  38. max=1;
  39. Use(SetPos);
  40. }
  41. :timeselect
  42. {
  43. title="Timing selector";
  44. text[1]="The selector lets you choose between five timing options: Wait for Mouse, Pause in Seconds, Pause in HH:MM:SS.hh, Duration in HH:MM:SS.hh, and Record with Mouse.^n^nWait for Mouse^nLets you use the mouse to advance events in a script. It is the default setting for new pages, and is indicated by a mouse icon in the Timing column. The main mouse button advances the script to the next event; the secondary mouse button moves back to the previous event.";
  45. text[2]="Pause in Seconds^nLets you specify a pause, from 0-99 seconds, by using the value control. It is the default setting for new elements. The number of seconds you choose is reflected on the Timing button for that event. Pause timing begins when an event is finished, and prevents the next event from beginning until the Pause time has passed. With a non-zero Pause, the Reset on Input? button is available.";
  46. text[3]="Pause in HH:MM:SS.hh^nLets you specify a pause, in hours, minutes, seconds, and hundredths of a second. Click on the appropriate text box in the value control to adjust each unit of time. Changes are reflected on the Timing button for that event. Pause timing begins when an event is finished, and prevents the next event from beginning until the Pause time has passed.^nWith a non-zero Pause, the Reset on Input? button is available.";
  47. text[4]="Duration in HH:MM:SS.hh^nLets you measure time in hours, minutes, seconds, and hundredths of a second. Click on the appropriate text box in the value control to adjust each unit of time. Changes are reflected on the Timing button for that event. Duration timing begins when the event begins, and establishes a minimum total time for the event.";
  48. text[5]="Record with Mouse^nLets you make a series of Duration settings interactively, with mouse clicks while the script runs.^n^nYou click to indicate when to advance, and Scala records the click-timings. ^"Rec^" appears on the Timing button when you first choose Record with Mouse; after recording this is replaced by a Duration in HH:MM:SS.hh value that reflects how long you waited between clicks.";
  49. descr=text[1];
  50. block=1;
  51. max=5;
  52. Use(SetPos);
  53. }
  54. :resetoninput
  55. {
  56. title="Reset on Input?";
  57. text[1]="Resets the pause timer if a key is pressed, the mouse moves, or a mouse button is clicked. When either type of Pause is selected and the pause time is not zero, the Reset on Input? option is available. This allows interactive pages that don't have a fixed pause when people are providing input, but also gives the page a ^"timeout^" feature, so that if there is no input for a certain length of time, the script can continue.";
  58. descr=text[1];
  59. block=1;
  60. max=1;
  61. Use(SetPos);
  62. }
  63. :preview
  64. {
  65. title="Preview";
  66. text[1]="Lets you preview the current page with the timings you have set.";
  67. descr=text[1];
  68. block=1;
  69. max=1;
  70. Use(SetPos);
  71. }
  72. :okbutton
  73. {
  74. title="OK";
  75. text[1]="Accepts editing changes and returns you to the Main or List menu.";
  76. descr=text[1];
  77. block=1;
  78. max=1;
  79. Use(SetPos);
  80. }
  81. :cancelbutton
  82. {
  83. title="Cancel";
  84. text[1]="Closes the Timing menu and returns you to the Main or List menu without saving any changes to the current page.";
  85. descr=text[1];
  86. block=1;
  87. max=1;
  88. Use(SetPos);
  89. }
  90. }
  91. Resources:
  92. }
  93.