zanarkand
12-15-2007, 04:02 AM
I've been using a hotkey to quickly switch to the command line. I found it kinda useful now and then. Thought I should share it with others. Lemme know if you find it useful. :)
The following code binds the script to the \ key.
runTimeCommand
-annotation ""
-category "User"
-command ("setUIComponentVisibility(\"Command Line\", 1);\r\nsetFocus commandLine1;")
focusCommandLine;
nameCommand
-annotation "focusCommandLineNameCommand"
-command ("focusCommandLine")
focusCommandLineNameCommand;
hotkey -keyShortcut "\\" -name ("focusCommandLineNameCommand");
The following code binds the script to the \ key.
runTimeCommand
-annotation ""
-category "User"
-command ("setUIComponentVisibility(\"Command Line\", 1);\r\nsetFocus commandLine1;")
focusCommandLine;
nameCommand
-annotation "focusCommandLineNameCommand"
-command ("focusCommandLine")
focusCommandLineNameCommand;
hotkey -keyShortcut "\\" -name ("focusCommandLineNameCommand");
