Shortcut key command scripting

 From:  milkywaif
6309.2 In reply to 6309.1 
There's a setting in moi.ini which is called "CommandLineTypeTextEntry"

Default value is n
If you change it to y (CommandLineTypeTextEntry=y) anything you type will be treated as if you're typing in commands

For example let's say you have a script in \commands directory called. rt.js
Typing rt and hitting enter will execute that script.

You have to be careful though. If you have r assigned as shortcut key for something else in "options/shortcut keys", it will be executed before you even type t letter.

However you can keep CommandLineTypeTextEntry=n and still achieve same result with an extra key (Tab key) so you dont have to worry about shortcut key conflictions.

It'll be like this; you'll hit "Tab" key which will activate mini command line, you'll type "rt" and hit "Enter".