home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / multimedia / scala / HELP / SOUND3K.SCA < prev    next >
Text File  |  1996-05-14  |  9KB  |  225 lines

  1. !ScalaScript
  2. {
  3. Sequence:
  4. :"SubScript"
  5. {
  6. Group:
  7. BoxX.1=139;
  8. BoxY.1=37;
  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\soundbak.gif",UserPalette(RGBPen(1,0,16777215,12632256,5592405,8553090,11184810)));
  17. Clip(0,292,"Scala:\help\graphics\sound3K.gif",transparent(off));
  18.     title="";
  19. pagename="Sound Menu:CD panels";
  20. pagedescr="Lets you access audio tracks available on standard audio compact discs. Use the Panel pop-up to choose from thirteen functions available: Play, Play MSF, Sync, Wait, Stop, Pause, Resume, Eject, Read Contents, Next, Previous, Volume and Pan.^n^nCD: Next^nMoves to the next track on the CD currently playing.";
  21. Button(Normal(Box(620,292,19,25,Style(Norm))),Highlight(Box(620,292,19,25,Style(High))),Select(Box(620,292,19,25,Style(Sel)),Use(infobutton)));
  22. Button(Normal(Box(214,450,103,25,Style(Norm))),Highlight(Box(214,450,103,25,Style(High))),Select(Box(214,450,103,25,Style(Sel)),Use(cdunit)));
  23. Button(Normal(Box(322,450,102,25,Style(Norm))),Highlight(Box(322,450,102,25,Style(High))),Select(Box(322,450,102,25,Style(Sel)),Use(newcd)));
  24. Button(Normal(Box(4,322,415,25,Style(Norm))),Highlight(Box(4,322,415,25,Style(High))),Select(Box(4,322,415,25,Style(Sel)),Use(soundtype)));
  25. Button(Normal(Box(426,322,209,25,Style(Norm))),Highlight(Box(426,322,209,25,Style(High))),Select(Box(426,322,209,25,Style(Sel)),Use(panelpopup)));
  26. Button(Normal(Box(4,450,100,25,Style(Norm))),Highlight(Box(4,450,100,25,Style(High))),Select(Box(4,450,100,25,Style(Sel)),Use(preview)));
  27. Button(Normal(Box(429,450,100,25,Style(Norm))),Highlight(Box(429,450,100,25,Style(High))),Select(Box(429,450,100,25,Style(Sel)),Use(okbutton)));
  28. Button(Normal(Box(534,450,101,25,Style(Norm))),Highlight(Box(534,450,101,25,Style(High))),Select(Box(534,450,101,25,Style(Sel)),Use(cancelbutton)));
  29. Wait();
  30. Sequence:
  31. Use(SetUp);
  32. Use(DrawBox);
  33. Button(Wipe("BlindsFantasy3",Speed(7),Direction(90)),Normal(Box(BoxX+BoxW+10,BoxY,115,BoxH,Style(Info))));
  34. Text(BoxX+BoxW+15,BoxY+5,"Sound Screens:",Style(Mid),Justify(Center,Top),Wrap(Off,Auto(340)));
  35. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+25,"Sample",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+25,"Sample",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+25,"Sample",Style(Layout3)),goto(sub1a)));
  36. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+36,"MIDI",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+36,"MIDI",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+36,"MIDI",Style(Layout3)),goto(sub2a)));
  37. Text(BoxX+BoxW+17,BoxY+47,"CD",Style(LayoutText));
  38. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+58,"Mixer",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+58,"Mixer",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+58,"Mixer",Style(Layout3)),goto(sub4a)));
  39. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+75,"CD: Play",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+75,"CD: Play",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+75,"CD: Play",Style(Layout3)),goto(sub3a)));
  40. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+86,"CD: None",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+86,"CD: None",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+86,"CD: None",Style(Layout3)),goto(sub3b)));
  41. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+97,"CD: Play MSF",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+97,"CD: Play MSF",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+97,"CD: Play MSF",Style(Layout3)),goto(sub3c)));
  42. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+108,"CD: Sync",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+108,"CD: Sync",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+108,"CD: Sync",Style(Layout3)),goto(sub3d)));
  43. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+119,"CD: Wait",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+119,"CD: Wait",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+119,"CD: Wait",Style(Layout3)),goto(sub3e)));
  44. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+130,"CD: Stop",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+130,"CD: Stop",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+130,"CD: Stop",Style(Layout3)),goto(sub3f)));
  45. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+141,"CD: Pause",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+141,"CD: Pause",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+141,"CD: Pause",Style(Layout3)),goto(sub3g)));
  46. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+152,"CD: Resume",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+152,"CD: Resume",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+152,"CD: Resume",Style(Layout3)),goto(sub3h)));
  47. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+163,"CD: Eject",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+163,"CD: Eject",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+163,"CD: Eject",Style(Layout3)),goto(sub3i)));
  48. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+174,"CD: Read Contents",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+174,"CD: Read Contents",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+174,"CD: Read Contents",Style(Layout3)),goto(sub3j)));
  49. Text(BoxX+BoxW+17,BoxY+185,"CD: Next",Style(LayoutText));
  50. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+196,"CD: Previous",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+196,"CD: Previous",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+196,"CD: Previous",Style(Layout3)),goto(sub3l)));
  51. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+207,"CD: Volume",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+207,"CD: Volume",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+207,"CD: Volume",Style(Layout3)),goto(sub3m)));
  52. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+218,"CD: Pan",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+218,"CD: Pan",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+218,"CD: Pan",Style(Layout3)),goto(sub3n)));
  53. Resources:
  54. :infobutton
  55. {
  56. title="Information button";
  57. text[1]="Switches Scala into Help mode. ";
  58. descr=text[1];
  59. block=1;
  60. max=1;
  61. Use(SetPos);
  62. }
  63. :cdunit
  64. {
  65. title="CD Unit";
  66. text[1]="If you have more than one CD-ROM drive, or a multi-unit drive, Scala displays an additional button on the CD control panels, CD Unit. You can access different discs in multiple drives by selecting the unit number with this control.";
  67. descr=text[1];
  68. block=1;
  69. max=1;
  70. Use(SetPos);
  71. }
  72. :newcd
  73. {
  74. title="New CD!";
  75. text[1]="Makes Scala read the table of contents of the CD in the drive, so that track numbers and times can be displayed correctly. It should always be used after you change CDs in the drive. All CD control panels have the New CD! button.";
  76. descr=text[1];
  77. block=1;
  78. max=1;
  79. Use(SetPos);
  80. }
  81. :soundtype
  82. {
  83. title="Sound type buttons";
  84. text[1]="Select a type of sound event - Sample, MIDI, CD or Mixer. Each sound type has its own set of control panels. Clicking on a Sound button in the Main or List menus opens the Sound menu and activates the Sound control panel that applies to that event. If no sound event has been defined, Sample is selected.";
  85. descr=text[1];
  86. block=1;
  87. max=1;
  88. Use(SetPos);
  89. }
  90. :panelpopup
  91. {
  92. title="Panel pop-up";
  93. text[1]="Lets you access the control panels for the selected sound type events. ^"None^" on this button indicates that no sound event of that type is defined for the current element or page.^n^nChanges made in the sound settings are not displayed on the column button until you accept them and return to the Main menu, or move to another page.";
  94. descr=text[1];
  95. block=1;
  96. max=1;
  97. Use(SetPos);
  98. }
  99. :preview
  100. {
  101. title="Preview";
  102. text[1]="Lets you test a sound event by viewing the page with the sound event(s) you have added.";
  103. descr=text[1];
  104. block=1;
  105. max=1;
  106. Use(SetPos);
  107. }
  108. :okbutton
  109. {
  110. title="OK";
  111. text[1]="Accepts changes and exits the Sound menu.";
  112. descr=text[1];
  113. block=1;
  114. max=1;
  115. Use(SetPos);
  116. }
  117. :cancelbutton
  118. {
  119. title="Cancel";
  120. text[1]="Returns to the Main or List menu without applying changes.";
  121. descr=text[1];
  122. block=1;
  123. max=1;
  124. Use(SetPos);
  125. }
  126. }
  127. Resources:
  128. :sub1a
  129. {
  130. Group:
  131. SubNum="1a";
  132. Quit(1);
  133. }
  134. :sub2a
  135. {
  136. Group:
  137. SubNum="2a";
  138. Quit(1);
  139. }
  140. :sub4a
  141. {
  142. Group:
  143. SubNum="4a";
  144. Quit(1);
  145. }
  146. :sub3a
  147. {
  148. Group:
  149. SubNum="3a";
  150. Quit(1);
  151. }
  152. :sub3b
  153. {
  154. Group:
  155. SubNum="3b";
  156. Quit(1);
  157. }
  158. :sub3c
  159. {
  160. Group:
  161. SubNum="3c";
  162. Quit(1);
  163. }
  164. :sub3d
  165. {
  166. Group:
  167. SubNum="3d";
  168. Quit(1);
  169. }
  170. :sub3e
  171. {
  172. Group:
  173. SubNum="3e";
  174. Quit(1);
  175. }
  176. :sub3f
  177. {
  178. Group:
  179. SubNum="3f";
  180. Quit(1);
  181. }
  182. :sub3g
  183. {
  184. Group:
  185. SubNum="3g";
  186. Quit(1);
  187. }
  188. :sub3h
  189. {
  190. Group:
  191. SubNum="3h";
  192. Quit(1);
  193. }
  194. :sub3i
  195. {
  196. Group:
  197. SubNum="3i";
  198. Quit(1);
  199. }
  200. :sub3j
  201. {
  202. Group:
  203. SubNum="3j";
  204. Quit(1);
  205. }
  206. :sub3l
  207. {
  208. Group:
  209. SubNum="3l";
  210. Quit(1);
  211. }
  212. :sub3m
  213. {
  214. Group:
  215. SubNum="3m";
  216. Quit(1);
  217. }
  218. :sub3n
  219. {
  220. Group:
  221. SubNum="3n";
  222. Quit(1);
  223. }
  224. }
  225.