Menu Hotkeys?

Discussion/announcements about test/beta releases of UBCD will be posted here.

Moderators: Icecube, StopSpazzing

Post Reply
Message
Author
Scott Cooper
Posts: 136
Joined: Mon Apr 18, 2005 9:07 pm

Menu Hotkeys?

#1 Post by Scott Cooper » Mon Feb 16, 2009 9:34 pm

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

Code: Select all

MENU LABEL [^1] Mainboard Tools
This shows the number 1 inside brackets and pressing 1 moves to the line.

Icecube
Posts: 1278
Joined: Fri Jan 11, 2008 2:52 pm
Contact:

#2 Post by Icecube » Tue Feb 17, 2009 7:05 am

Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/

Scott Cooper
Posts: 136
Joined: Mon Apr 18, 2005 9:07 pm

#3 Post by Scott Cooper » Tue Feb 17, 2009 8:24 am

Thanks Icecube.
Victor Chew wrote:
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...

melee
Posts: 21
Joined: Mon Jul 07, 2008 7:27 pm
Location: Huntsville, AL

Hotkeys

#4 Post by melee » Wed Feb 18, 2009 3:07 pm

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.

Icecube
Posts: 1278
Joined: Fri Jan 11, 2008 2:52 pm
Contact:

#5 Post by Icecube » Wed Feb 18, 2009 4:10 pm

Some menus contain more than 10 entries, so you must use something like [1-9],0, [a-z].
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/

melee
Posts: 21
Joined: Mon Jul 07, 2008 7:27 pm
Location: Huntsville, AL

#6 Post by melee » Thu Feb 19, 2009 8:27 pm

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.

Post Reply