> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# View and manipulate the console's front panel (wdpanel.exe)

> View and manipulate the console's front panel (wdpanel.exe)

Use this tool to view and manipulate the console's front panel.

| Command | Description |
| - | - |
| [button](#wdapp_button) | Presses a button on the front panel |
| [screenshot]() | Takes a front panel screenshot |
| [script](#wdapp_script) | Applies a script to a front panel button |
| [enable]() | Enables the front panel display |
| [disable](#wdapp_disable) | Disables the front panel display |

## wdpanel button

Presses a button on the front panel.

`wdpanel button <buttonValue>`

| Option | Description |
| - | - |
| `buttonValue` | The button to press. The allowed values are 1-5, up, down, left, right, select, and switch. |

## wdpanel screenshot

Takes a front panel screenshot in the PNG file format.

`wdpanel screenshot [<filename>]`

| Option | Description |
| - | - |
| `filename` | The name of the output file. |

## wdpanel script

Applies a built-in or custom script to a front panel button. The script must already be present on the console and be identified by name, not file path.

`wdpanel script <buttonNumber> <scriptname> [custom]`

| Option | Description |
| - | - |
| `buttonNumber` | The number of the front panel button. The allowed values are 1-5. |
| `scriptname` | The name of the script to apply to the specified button. |
| `custom` | |

## wdpanel enable

Enables the front panel display.

`wdpanel enable`

## wdpanel disable

Clears and disables the front panel display.

`wdpanel disable`

## See also

[Console Command-line tools](https://docs.xbox.com/tools/tools-console/console_commandlinetools/consolecommandlinetools.md)

[XTF transport errors](https://docs.xbox.com/tools/tools-console/commandlinetools/xtf-transport-errors.md)


## Related topics

- [Console-based command-line tools](https://docs.xbox.com/tools/tools-console/console_commandlinetools/consolecommandlinetools.md)
- [Console-based command-line tools for XBOX](https://docs.xbox.com/tools/tools-console/console_commandlinetools/index.md)
- [XFrontPanelLight](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/enums/xfrontpanellight.md)
- [XFrontPanelButton](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/enums/xfrontpanelbutton.md)
- [XFrontPanelIsSupported](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelissupported.md)
