[boot scriptor] Re: Features.....

  • From: "Doctor xp" <doctor_xp@xxxxxxx>
  • To: <bscript@xxxxxxxxxxxxx>
  • Date: Thu, 2 Jan 2003 06:47:41 +0200

I think what you say is currently available, all you need to do, is create the 
Menu screen as a BMP or a BSI, then instead of using the usual "print" commands 
use one "show image menu.bsi menu.bmp" to display your menu, and just wait for 
the keypress using the usual "getkey" command.


This will create a "graphics-only" menu, to make the menu as you want (that is 
use the graphics only if hardware supports) you can make a small trick, that is 
:
Put the menu in the graphics.bsi (the 640x480x24 image, the resolution is good 
enough to make a high quality menu), and put in the graphics.bmp (the 320x240x8 
image, not good enough) a small message indicating that the current hardware 
does not support high quality menus, and to access the usual text menu press F9 
(or any other unused key).

The trick here is that that BootScriptor determines if the hardware supports 
high quality menus or not, and displays the right image for it, when you 
"getkey", you put "onkey" commands for all the options in the menu *plus* one 
"onkey F9 script textmenu.mnu" command that launchs the text menu script (you 
can keep the text menu inside the same script file and use "onkey F9 goto 
textmenu").
If the user sees the high quality menu, he doesn't know that F9 opens the text 
menu (you don't mention it in the menu) and thinks the only available options 
are the menu commands, and if he sees the low-quality message, he thinks that 
there is no other commands than F9, and he automatically presses F9.

try it and see by yourself.

Best regards,
Doctor xp

  ----- Original Message ----- 
  From: Chris Selivanow 
  To: bscript@xxxxxxxxxxxxx 
  Sent: Tuesday, December 31, 2002 4:15 PM
  Subject: [boot scriptor] Features.....




  Hi all-

  BS has so many features, wouldn't it be nice to have one more?
  I was thinking that since BS already has the ability to display
  640x480 and 320x200 images that it would be cool to extend that
  to allow the use of images for the menu system.

  I was thinking that one would create the menu as usual but also
  include a command to display an image at the start of each
  menu page (after the original menu was displayed?).  This image
  should stay visible until a key has been pressed or until a
  timed command was executed.  Of course, if the PC hardware
  doesn't support displaying graphics then the menu should still 
  be displayed.

  What do you all think?

  -Chris



  -- 
  Chris Selivanow             585 582-1600
  Lead Technician             585 624-3465 (fax)  
  QwicNet, Inc.               http://www.qwicnet.com

  ============================================================
  Boot Scriptor mailing list -- http://www.bootscriptor.org
  Change your subscription options at: //www.freelists.org/list/bscript

============================================================
Boot Scriptor mailing list -- http://www.bootscriptor.org
Change your subscription options at: //www.freelists.org/list/bscript

Other related posts: