home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / BATCHVW1.ZIP / AEXMPLES.BAT < prev    next >
DOS Batch File  |  1993-07-12  |  4KB  |  121 lines

  1. @ECHO OFF
  2. echo off
  3. AMSG +27 15 113 35 /ask "AEXMPLES.BAT demonstrates color menus and message prompts" Proceed
  4. IF ERRORLEVEL 1 GOTO EXSTRT
  5. IF ERRORLEVEL 0 GOTO EXEND
  6. :EXSTRT
  7. ACLS /c 15 16
  8. ECHO ************************************************************************
  9. ECHO This tutorial will help familiarize you with the use of color attributes
  10. ECHO as well as demonstrating a variety of color menus and message prompts.
  11. ECHO *
  12. ECHO With a little imagination and experimentation you can create some
  13. ECHO very attractive menus and message windows.
  14. ECHO *
  15. ECHO The following menus are for aesthetic and demonstration purposes.
  16. ECHO They don't actually do anything, unless of course you decide to
  17. ECHO write batch files for them. All Keys function normally.
  18. ECHO *
  19. ECHO ************************************************************************
  20. ECHO NEON MENUS
  21. ECHO *
  22. ECHO Neon effects can be obtained by using similar dark and light
  23. ECHO color combinations.
  24. ECHO *
  25. ECHO ELECTRIC BLUE (The opening screen message)
  26. ECHO ABATMENU +27 15 112 113 216 "[ RUN ]" Solitaire Chess Backgammon Exit
  27. ECHO 16 + 11 = 27  This is Blue plus light Cyan.
  28. ECHO *
  29. PAUSE
  30. ABATMENU +27 15 112 113 216 "[ RUN ]" Solitaire Chess Backgammon Exit
  31. ACLS /c 10 0
  32. ECHO ***************************************************************************
  33. ECHO ELECTRIC GREEN (A sample Dos configuration menu)
  34. ECHO *
  35. ECHO *
  36. ECHO ABATMENU +42 15 112 114 236 "* DOS *" Mouse Doskey "Fastopen C:" Exit
  37. ECHO 32 + 10 = 42  This is Green plus light Green.
  38. ECHO 15 = White text.
  39. ECHO 112 + 0 = White hi-lite bar with Black text.
  40. ECHO 112 + 2 = 114  White background and Green text.
  41. ECHO *
  42. ECHO *
  43. PAUSE
  44. ABATMENU +42 15 112 114 236 "* DOS *" Mouse Doskey "Fastopen C:" Exit
  45. AMSG +42 15 114 42 "Some people prefer this kind of Green"
  46. ABATMENU +42 14 116 114 36 "$ CASH $" Money "More Money" "Lotto Jackpot" Greed
  47. ACLS /c 13 0
  48. ECHO *************************************************************************
  49. ECHO PASSIONATE PURPLE (Sentimental, but effective for demonstrations)
  50. ECHO *
  51. ECHO *
  52. ECHO ABATMENU +93 15 116 117 3 "| PASSION |" Lust Crush Infatuation Love
  53. ECHO 80 + 13  This is Magenta plus light Magenta.
  54. ECHO 15 = white text.
  55. ECHO 112 + 4 = 116  White hi-lite bar with Red text.
  56. ECHO 112 + 5 = 117  White background with Magenta text.
  57. ECHO *
  58. ECHO *
  59. PAUSE
  60. ABATMENU +93 15 116 117 3 "| PASSION |" Lust Crush Infatuation Love
  61. ACLS /c 12 0
  62. ECHO *************************************************************************
  63. ECHO RED HOT (Gawdy, but effective for Warnings)
  64. ECHO *
  65. ECHO *
  66. ECHO ABATMENU +110 14 112 124 11 "* HOT *" Chili Cayenne Jalapeno
  67. ECHO 96 + 14 = 110  Brown plus Yellow.
  68. ECHO 14 = Yellow text.
  69. ECHO 112  White with Black text.
  70. ECHO 112 + 12 = 124  White background with light Red text.
  71. ECHO *
  72. ECHO *
  73. PAUSE
  74. ABATMENU +110 14 112 124 11 "* HOT *" Chili Cayenne Jalapeno
  75. AMSG +110 14 116 157 WARNING! "Warp Engine Overload" "Antimatter Explosion Imminent"
  76. ACLS /c 11 0
  77. ECHO *************************************************************************
  78. ECHO COOL CYAN (Refrigerated food items on the Menu)
  79. ECHO *
  80. ECHO *
  81. ECHO ABATMENU +49 9 120 23 145 "( COOL )" Jello Pudding Sherbert"Ice Cream"
  82. ECHO 48 + 1 = 49  Cyan plus Blue.
  83. ECHO 9 = light Blue text.
  84. ECHO 112 + 8 = 120  White hi-lite with Gray text.
  85. ECHO 16 + 7 = 23  Blue Background with light Gray text.
  86. ECHO *
  87. ECHO *
  88. PAUSE
  89. ABATMENU +49 9 120 23 145 "( COOL )" Jello Pudding Sherbert "Ice Cream"
  90. ACLS /c 14 0
  91. ECHO ************************************************************************
  92. ECHO SUNBURST (For people with sunglasses)
  93. ECHO *
  94. ECHO *
  95. ECHO This one will dazzle or blind them.
  96. ECHO *
  97. ECHO *
  98. ECHO ABATMENU +116 8 95 110 15 ": RAY :" Ultraviolet X-ray Gamma-ray Microwave
  99. ECHO 112 + 4 = 116  White plus Red.
  100. ECHO 8 = Gray text.
  101. ECHO 80 + 15 = 95  Magenta high-lite with White text.
  102. ECHO 96 + 14 = 110  Brown background with Yellow text.
  103. ECHO *
  104. ECHO *
  105. PAUSE
  106. ABATMENU +116 8 95 110 15 ": RAY :" Ultraviolet X-ray Gamma-ray Microwave
  107. ACLS /c 15 80
  108. ECHO ************************************************************************
  109. ECHO That ought to give you the general idea.
  110. ECHO *
  111. ECHO *
  112. ECHO Color Attributes can be displayed by using any of the utility programs.
  113. ECHO *
  114. ECHO Just type the name of the program followed by a /c or the word color.
  115. ECHO EXAMPLE: ABATMENU /c or ABATMENU color
  116. ECHO *
  117. ECHO *
  118. PAUSE
  119. ACLS /hz
  120. :EXEND
  121.