Feature request: automatically associate names to values in a switch widget

I'd like to type:

Edit, File, Stop, Help, 4-5-3

and get:

{
"Edit": 5
"File": 8
"Stop": 11
"Help": 14
}

Where "4-5-3" means:
4 (4 buttons)
5 (starting from value 5)
3 (assigning values counting by 3)


It's just a thought...

I'd rather not add a new syntax for that, I don't see how this is more simple than writing the result.

1 Like