# Windows

Below is an overview of all actions that can be accessed from this menu.

| UI Action Name           | Action Name           | Description                                                                                                                                                            |
| ------------------------ | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Load desktop...          | `LoadDesktop`         | This commands show all available desktops (stored in the database or in the registry). [More…](#load-desktop)                                                          |
| Save desktop...          | `SaveDesktop`         | This command saves the current desktop configuration to a desktop. [More…](#save-desktop)                                                                              |
| Delete desktop...        | `DeleteDesktop`       | This command deletes a desktop containing a desktop configuration.                                                                                                     |
| Reset desktop            | `ResetDesktop`        | This command resets all windows (IDA main window and database windows) by loading the original IDA disassembly desktop or debugger desktop(if the debugger is active). |
| Reset hidden messages... | `ResetHiddenMessages` | Reset hidden messages                                                                                                                                                  |
| Windows list             | `WindowsList`         | Display list of the currently open windows                                                                                                                             |
| Next window              | `NextWindow`          | Switch to the next window                                                                                                                                              |
| Previous window          | `PrevWindow`          | Switch to the previous window                                                                                                                                          |
| Close window             | `CloseWindow`         | Close the current window                                                                                                                                               |
| Focus command line       | `FocusCLI2`           | Focus command line                                                                                                                                                     |
| Output window            | `OutputWindow`        | Display the output window if hidden. [More…](#output-window)                                                                                                           |
| Functions                | `WindowActivate1`     | Functions                                                                                                                                                              |
| IDA View-A               | `WindowActivate2`     | IDA View-A                                                                                                                                                             |
| Pseudocode-A             | `WindowActivate3`     | Pseudocode-A                                                                                                                                                           |
| Hex View-1               | `WindowActivate4`     | Hex View-1                                                                                                                                                             |
| Local Types              | `WindowActivate5`     | Local Types                                                                                                                                                            |
| Imports                  | `WindowActivate6`     | Imports                                                                                                                                                                |
| Exports                  | `WindowActivate7`     | Exports                                                                                                                                                                |
| Switch to window #8      | `WindowActivate8`     | Switch to window #8                                                                                                                                                    |
| Switch to window #9      | `WindowActivate9`     | Switch to window #9                                                                                                                                                    |

## Load desktop...

This commands show all available desktops (stored in the database or in the registry). Pressing <kbd>Enter</kbd> loads the desktop configuration from the selected desktop. Pressing <kbd>Del</kbd>> deletes the selected desktop.

## Save desktop...

This command saves the current desktop configuration to a desktop. If you enter a name, IDA saves the current configuration to a named desktop in the database or registry. If you select 'Default', IDA saves the current configuration to the *Default* or *Default debugger* desktop (if the debugger is active) in the registry.

## Output window

Display the output window if hidden. The **Output window** appears at the bottom of IDA's interface by default and serves two key purposes:

* Displays various IDA messages and notifications.
* Provides a command line interface (CLI) for executing IDC or IDAPython commands.

![Output window](https://3899235193-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd4yKxBBBv1qcoSuL2US4%2Fuploads%2Fgit-blob-0db414a06137c81b3fe6201a1e28e59b0733cc3a%2Foutput-window.png?alt=media)

If closed, you can reopen it via **Windows -> Output window**.

## Context Menu Options

Right-click in the Output window to access these options:

* **Select All**: Selects all content in the window
* **Find/Find next**: Searches for a specific string
* **Clear**: Removes all previous messages from the window
* **Copy to CLI**: Places selected text into CLI field
* **Save to file**: Exports window content to a .log file
* **Show timestamps**: Displays time information with each message
* **Font...**: Customizes the text appearance (font, style, size)

You can duplicate all messages appearing in this window to a file. To do this, you have to define an environment variable before starting IDA:

```
set IDALOG=logfile
```

### Command Line Providers

Currently, the following command line providers exist:

* [IDC](https://docs.hex-rays.com/developer-guide/idc/core-concepts)
* [Python](https://python.docs.hex-rays.com/)
* Bochs debugger
* WinDbg debugger
* GDB debugger

![Command-line](https://3899235193-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd4yKxBBBv1qcoSuL2US4%2Fuploads%2Fgit-blob-4234641c60873ae5afebd6fb1de683c625e61049%2Fcommand-line.png?alt=media)

When these plugins are active, they will process the entered commands. The current command language can be changed by clicking the button to the left of the input field. The current language can be set as default by choosing "Default CLI" from the context menu of the command line.

The command-line input field can be activated by pressing <kbd>.</kbd>, while <kbd>Esc</kbd> switches back to the previous window.
