Ultimate Boot CD
http://www.ultimatebootcd.com/forums/

Menu Hotkeys?
http://www.ultimatebootcd.com/forums/viewtopic.php?f=7&t=1796
Page 1 of 1

Author:  Scott Cooper [ Mon Feb 16, 2009 9:34 pm ]
Post subject:  Menu Hotkeys?

The ISOLINUX menu system allows hot keys to quickly select a menu item. Would this be useful in the UBCD menus?

Code:
MENU LABEL [^1] Mainboard Tools


This shows the number 1 inside brackets and pressing 1 moves to the line.

Author:  Icecube [ Tue Feb 17, 2009 7:05 am ]
Post subject: 

Victor doesn't like hotkeys :cry: .
See: http://www.ultimatebootcd.com/forums/viewtopic.php?t=1398&postdays=0&postorder=asc&start=0

Author:  Scott Cooper [ Tue Feb 17, 2009 8:24 am ]
Post subject: 

Thanks Icecube.

Victor Chew wrote:
Quote:
Are you going to include the hotkeys for the menu's? You have added the help text already, which is nice.


Nope. I tried both approach 1) making certain letters in the menu items hotkeys 2) labelling them numerically and using the numbers as hotkeys. I hated both methods (ugly). So unless anyone can recommend something better...

Author:  melee [ Wed Feb 18, 2009 3:07 pm ]
Post subject:  Hotkeys

If there is wide interest, I can make UBCD Creator have the option to add hotkeys to the menus. Since it would be done programatically by UBCD Creator, using the numeric approach would be used (it is simpler). This would allow individuals that liked this method to customize the ISO accordingly, while not forcing the change on everyone else.

Please respond here if people are interested.

Author:  Icecube [ Wed Feb 18, 2009 4:10 pm ]
Post subject: 

Some menus contain more than 10 entries, so you must use something like [1-9],0, [a-z].

Author:  melee [ Thu Feb 19, 2009 8:27 pm ]
Post subject: 

Every programmer knows. You always count starting at 0. :)

Continuing the numbering a-z would be fine. I plan on adding this to the CustomizePanel that will allow users to remove programs currently included in UBCD (including all personal use only software). This will involve turning the current menu systems into an XML format so UBCD Creator can write them out (omitting the programs to remove). I will write some simple Perl scripts to automate this process. This same XML file could also provide shortcut keys (other than [0-9a-z]) if someone else wants to define shortcuts for each menu item.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/