Rockbox Development > Feature Ideas
New Feature: shortcuts that allow setting a value instead of the config screen
(1/1)
Bilgus:
This adds a new menu option 'Add Current to Shortcuts' when selected it will record the current value of the setting in the shortcut
Later run Shortcuts and you will see '[your selected setting] ([recorded value])'
when selected the setting will be applied just as if you had selected the option in the configure screen
See the manual for your device for more info 'The Main Menu>Shortcuts'
rockbox_dev123:
Thanks for adding this.
It was how I expected shortcuts to work when I first started using them. This should make switching between brightness levels much easier/faster for me.
Bilgus:
Both ways have their respective pros and cons
but if I had to choose one for sure the former is the better choice
small tidbit you can change between types and have the same syntax
setting: value
so by changing between 'shortcut' and 'apply'
you can easily change the behavior of existing menu items
currently your data shortcut reads
--- Code: ---[shortcut]
type: setting
data: volume
--- End code ---
and the apply shortcut
--- Code: ---[shortcut]
type: apply
data: volume: 20
--- End code ---
you can later convert the apply shortcut to a setting
--- Code: ---[shortcut]
type: setting
data: volume: 20
--- End code ---
next time the list is saved (new item or deleted item) it will erase the :value part
iPodVT:
This is tremendous - thanks very much.
Now I no longer have to create multiple .cfg files containing single settings and put links to them in shortcuts.txt.
"type: apply" is beautiful.
iPodVT:
And the effect is instantaneous - much faster than using the .cfg file links.
Navigation
[0] Message Index
Go to full version