The Command Prompt includes several interactive features designed to make entering and executing commands easier. This article explains the different parts of the interface and how to interact with them.
Understanding the Command Prompt Interface
1. Draggable Area
The draggable area is located on the left side of the Command Prompt bar.
Use this area to:
- Click and drag the window to move it anywhere within CET.
- Right-click to reset the window to its default docked position.
2. Command Input Field
The input field is where you enter commands and their arguments.
As you type, the Command Prompt provides visual feedback to help identify valid commands.
- Valid command: The recognized command name appears in bold.
- Invalid command: The text appears red.
- Arguments: Remain in normal text formatting.
Valid command shown on the left, invalid command shown on the right
3. Autocomplete Suggestions
As you type, the Command Prompt displays a dropdown of matching commands.
You can interact with the suggestions using either your mouse or keyboard:
- Up/Down Arrow: Move through the suggestions.
- Tab: Navigate through the suggestions.
- Enter: Select the highlighted suggestion and populate the input field.
Autocomplete helps you discover available commands and reduces the need to remember exact command names. Pressing space after selecting the command will make the text turn bold, indicating the command is ready to use.
4. Argument Tooltips
When you enter a recognized command, a tooltip appears above the Command Prompt.
The tooltip provides information about the command, including:
- A description of what the command does.
- The arguments the command accepts.
- Guidance on the expected argument format.
The tooltip updates as you enter arguments.
5. Recent Commands Dropdown
The recent commands dropdown is located at the right end of the input field.
Click the dropdown to view your 10 most recently executed commands.
Select a command to populate the input field with its previous text. You can then execute it again or modify it before execution.
Command history is cleared when CET is restarted.
6. Menu Button
The menu button is located to the right of the input field.
Click it to access two options:
- Custom Command Prompt: Opens the dialog where you can create and manage custom commands.
- CET Command Prompt Help: Opens a browser page containing a reference table of available commands, their arguments, and descriptions.
The menu button must be accessed using your mouse.
7. Close Button
Click the X button at the far right of the Command Prompt bar to close the window.
8. Resizable Border
The right edge of the Command Prompt window acts as a resize handle.
Click and drag this edge horizontally to adjust the width of the window.
Keyboard Navigation
You can use your keyboard to access most Command Prompt features.
| Shortcut or Key | Function |
|---|---|
| Alt + P | Open the Command Prompt or focus the input field if already open. |
| Esc (once) | Remove focus from the input field. |
| Esc (twice) | Close the Command Prompt window. |
| Up/Down Arrow | Navigate autocomplete suggestions. |
| Tab | Navigate autocomplete suggestions. |
| Enter | Select a suggestion or execute a command. |
Note: The menu button and its options are mouse-only.
Window Position and Size
The Command Prompt can be moved and resized to accommodate your workspace.
- Default position: The Command Prompt appears docked at the left side of the view mode bar.
- Floating position: Drag the handle to move the window elsewhere in CET.
- Reset position: Right-click the draggable area to return to the default docked position.
- Remembered settings: CET remembers the window's position and size when it is closed entirely within the CET window.
If the Command Prompt is partially outside the CET workspace when closed, its previous position and size will not be saved.
Automatic Hiding
The Command Prompt may temporarily hide when another dialog or window appears that conflicts with its display.
If you cannot see the Command Prompt, press Alt + P to reopen it or bring it back into focus.
Next Steps
Now that you are familiar with the interface, learn how to enter commands, work with arguments, and use the available help resources in Running Commands: Syntax, Suggestions, and Help.
Comments
0 comments
Article is closed for comments.