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

  1. !ScalaScript
  2. {
  3. Sequence:
  4. :"SubScript"
  5. {
  6. Group:
  7. BoxX.1=120;
  8. BoxY.1=20;
  9. BoxX.2=0;
  10. BoxY.2=0;
  11. BoxX=BoxX.1;
  12. BoxY=BoxY.1;
  13. BoxW=400;
  14. BoxH=140;
  15. Descr="Click a button to get information about it!";
  16. Picture("Scala:\help\graphics\timingop.gif",UserPalette(RGBPen(1,0,16777215,12632256,5592405,8553090,11184810)));
  17. pagename="!Time, !Date, and !Weekday";
  18. pagedescr="Allows you to specify the format in which the time, the date, and the weekday are displayed when the embedded variables !TIME, !DATE, and !WEEKDAY are used in a script.";
  19. descr="Click a button to get information about it!";
  20. title="";
  21. Button(Normal(Box(480,165,19,25,Style(Norm))),Highlight(Box(480,165,19,25,Style(High))),Select(Box(480,165,19,25,Style(Sel)),Use(infobutton)));
  22. Button(Normal(Box(143,195,352,25,Style(Norm))),Highlight(Box(143,195,352,25,Style(High))),Select(Box(143,195,352,25,Style(Sel)),Use(timeformat)));
  23. Button(Normal(Box(143,225,352,25,Style(Norm))),Highlight(Box(143,225,352,25,Style(High))),Select(Box(143,225,352,25,Style(Sel)),Use(dateformat)));
  24. Button(Normal(Box(143,255,352,25,Style(Norm))),Highlight(Box(143,255,352,25,Style(High))),Select(Box(143,255,352,25,Style(Sel)),Use(weekdayformat)));
  25. Button(Normal(Box(143,285,114,25,Style(Norm))),Highlight(Box(143,285,114,25,Style(High))),Select(Box(143,285,114,25,Style(Sel)),Use(savebutton)));
  26. Button(Normal(Box(262,285,114,25,Style(Norm))),Highlight(Box(262,285,114,25,Style(High))),Select(Box(262,285,114,25,Style(Sel)),Use(okbutton)));
  27. Button(Normal(Box(381,285,114,25,Style(Norm))),Highlight(Box(381,285,114,25,Style(High))),Select(Box(381,285,114,25,Style(Sel)),Use(cancelbutton)));
  28. Wait();
  29. Sequence:
  30. Use(SetUp);
  31. Use(DrawBox);
  32. Resources:
  33. :infobutton
  34. {
  35. title="Information button";
  36. text[1]="Switches Scala into Help mode. ";
  37. descr=text[1];
  38. block=1;
  39. max=1;
  40. Use(SetPos);
  41. }
  42. :timeformat
  43. {
  44. title="Time format: selector";
  45. text[1]="Specifies one of eight time formats.";
  46. descr=text[1];
  47. block=1;
  48. max=1;
  49. Use(SetPos);
  50. }
  51. :dateformat
  52. {
  53. title="Date format: selector";
  54. text[1]="Specifies one of thirteen date formats.";
  55. descr=text[1];
  56. block=1;
  57. max=1;
  58. Use(SetPos);
  59. }
  60. :weekdayformat
  61. {
  62. title="Weekday format: selector";
  63. text[1]="Specifies one of two weekday formats.";
  64. descr=text[1];
  65. block=1;
  66. max=1;
  67. Use(SetPos);
  68. }
  69. :savebutton
  70. {
  71. title="Save";
  72. text[1]="Saves the current formats as the defaults and exits the dialog.";
  73. descr=text[1];
  74. block=1;
  75. max=1;
  76. Use(SetPos);
  77. }
  78. :okbutton
  79. {
  80. title="OK";
  81. text[1]="Accepts the current formats for the current session and exits the dialog.";
  82. descr=text[1];
  83. block=1;
  84. max=1;
  85. Use(SetPos);
  86. }
  87. :cancelbutton
  88. {
  89. title="Cancel";
  90. text[1]="Exits the dialog, discarding any format changes you made.";
  91. descr=text[1];
  92. block=1;
  93. max=1;
  94. Use(SetPos);
  95. }
  96. }
  97. Resources:
  98. }
  99.