QUOTE(Olav @ May 9 2006, 07:10 PM)
They keys function so that you can assign lots of keystrokes to each key (macro), so that hitting that one key substitues several key presses in games etc.
Well, you could program each key to do something like the following:
~player.equip 00035E6E^M~
which would open the console and equip an ebony longsword (and then close the console). Likewise, you could use
~selectplayerspell 00000136^M~
to set the current spell to "Heal Minor Wounds"
(^M = control-M, a carriage return)
You could even have a single key equip a bunch of items.
The problem is finding those FormID numbers to put in your commands. For items and spells in the official game, you can look them up in the Construction Set. For items from mods, though, the first two digits change depending on what order the mods load in, and for self-created items an spells, you don't really have way to get the FormIDs other than the route I took (pull them out of the save file).
There would also be a problem with you seeing the console text pop up briefly. You'd also want to avoid pressing any other keys while the macro was running, because you might inadvertently send extra keystrokes to the console mid-command.
Anyway, it's a thought.