PDA

View Full Version : hotkey to the command line


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");

CGTalk Moderation
12-15-2007, 04:02 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.