Export to GitHub

grub4dos-chenall - issue #70

Feauture request- user access to the currently selected menu entry number


Posted on Jan 25, 2012 by Helpful Bear

It would be helpful to have an user access to the number of the currently selected menu entry, so something like savedefault +/- N could be performed.

In other words- savedefault N entries below/above the current entry number.

Could the current_entryno be read from a user accessible variable or memory address?

As per this topic: http://reboot.pro/16247/

Comment #1

Posted on Feb 1, 2012 by Happy Hippo

Will put current_entryno at memory address 0x8276 next version. e.g set /a entryno=*0x8276&0xff

and support savedefault +n or savedefault -n

Comment #2

Posted on Feb 1, 2012 by Helpful Bear

Awesome, thanks a lot.

Comment #3

Posted on Feb 1, 2012 by Happy Hippo

Please try the new

Comment #4

Posted on Feb 1, 2012 by Happy Kangaroo

:-) Seems to work well! tried savedefault -1 and +1 and 0x8276 Thanks!

Comment #5

Posted on Feb 6, 2012 by Happy Hippo

(No comment was entered for this change.)

Comment #6

Posted on Feb 8, 2012 by Helpful Bear

Thanks Chenall, works as expected.

Status: Done

Labels:
Type-Defect Priority-Medium