Come to think of it, HKN already has a feature almost exactly like that. You can define commands that are triggered by strings of text like this:
<Command MyCustomCommandText>
<sendpc local>
<sendwin blahblah>
etc.
Right now when you want to invoke that command, you input the text to HKN with HKN's command line window, but I could very quickly add a new hot key function that allows the Nostromo to type the command text directly into HKN the way I described for numbers in the last post.
This would give you (aside from memory constraints) an infinite number of hotkeys, because the length of the command text is unlimited.
(If you wanted to use this on a large scale I'd probably have to rerwrite the code that interprets the command names and make it much faster. Right now it just does a bunch of strcmp's, and I've never tested it with more than 3 or 4 commands.)
But again, I'm wondering, how do you input all these thousands of commands into the Nostromo to begin with? The more I think about this, the more it seems like the bottleneck is there, not in HKN, but maybe I'm missing the whole point.
Connect With Us