> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/typing-macro.md).

# Typing macro

Configure Typing macro entries in Remote Desktop Manager, including the macro text, execution mode, delays, target program, and parameters.

This article details the many settings and options available for ***Typing macro*** tool entries in Remote Desktop Manager.

<table data-header-hidden><thead><tr><th width="200"></th><th></th></tr></thead><tbody><tr><td><strong>SETTINGS</strong></td><td><strong>DESCRIPTION</strong></td></tr><tr><td><strong>Name</strong></td><td>The name of the entry.</td></tr><tr><td><strong>Folder</strong></td><td>The folder where the entry is located.</td></tr></tbody></table>

### General

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Typing macro</strong></td><td>The keystrokes to type. The macro is required. Insert a parameter defined in the <em><strong>Parameters</strong></em> tab with its number, for example <code>{1}{TAB}{2}{ENTER}</code>. The <em><strong>Help</strong></em> button opens the online documentation on typing macros.</td></tr><tr><td><strong>Consider line breaks as {ENTER}</strong></td><td>Send each line break of the macro as an <kbd>Enter</kbd> key press.</td></tr><tr><td><strong>Execution mode</strong></td><td><p>Where the macro is typed. Select one of:</p><ul><li><strong>Default</strong></li><li><strong>Execute in the previous window</strong></li><li><strong>Execute in current tab</strong></li><li><strong>Execute in a specific process</strong></li><li><strong>Execute when the process gains focus</strong></li></ul></td></tr><tr><td><strong>Initial wait (seconds)</strong></td><td>The time to wait before the macro starts typing, from 0 to 60 seconds.</td></tr><tr><td><strong>Delay time {Delay} (milliseconds)</strong></td><td>The pause inserted by the <code>{Delay}</code> variable, from 300 to 60000 milliseconds. The default value is 300.</td></tr><tr><td><strong>Command (milliseconds)</strong></td><td>The command delay, from 10 to 60000 milliseconds. The default value is 20.</td></tr><tr><td><strong>Program</strong></td><td>The program that receives the macro. Available when <em><strong>Execution mode</strong></em> is set to <em><strong>Execute in a specific process</strong></em> or <em><strong>Execute when the process gains focus</strong></em>. On Windows, the browse button selects the program file and keeps its file name.</td></tr><tr><td><strong>Process selector</strong></td><td>Open a selector to pick the program. Shown on Windows only, and available under the same conditions as <em><strong>Program</strong></em>.</td></tr></tbody></table>

### Parameters

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Parameter name</strong></td><td>The label of the parameter. The tab always lists at least five parameters. Click the name to open the <em><strong>Rename</strong></em> window and change it.</td></tr><tr><td><strong>#</strong></td><td>The token that inserts the parameter in the macro, from <code>{1}</code> upward.</td></tr><tr><td><strong>Type</strong></td><td><p>The kind of value the parameter holds. Select one of:</p><ul><li><strong>Unused</strong></li><li><strong>Text</strong></li><li><strong>Secured</strong></li><li><strong>Env. variable</strong></li></ul></td></tr><tr><td><strong>Default value</strong></td><td>The value of the parameter. The value of a <em><strong>Secured</strong></em> parameter is masked. Unavailable when <em><strong>Type</strong></em> is set to <em><strong>Unused</strong></em>.</td></tr><tr><td><strong>Delete</strong> (row button)</td><td>Reset the parameter of its row: its <em><strong>Type</strong></em> returns to <em><strong>Unused</strong></em>, its value is cleared, and its name returns to the default name. Shown when <em><strong>Type</strong></em> is not <em><strong>Unused</strong></em>.</td></tr><tr><td><strong>Add</strong></td><td>Add a parameter row at the end of the list.</td></tr><tr><td><strong>Delete</strong></td><td>Remove the last parameter row added with <em><strong>Add</strong></em>. Available when the list has more than five parameters.</td></tr><tr><td><strong>Prompt for parameters on open</strong></td><td>Prompt for the parameter values when the macro runs.</td></tr><tr><td><strong>Typing macro example</strong></td><td>Shows an example of a typing macro that uses parameters: <code>{1}{TAB}{2}{ENTER}</code>.</td></tr><tr><td><strong>View command</strong></td><td>Show the typing macro with the parameter values inserted. Unavailable when a <em><strong>Secured</strong></em> parameter has a value and the user is not allowed to view sensitive information.</td></tr></tbody></table>

On Linux, the parameter name is edited directly in its row, an ***Add parameter*** button under the list adds a row, and the delete button of a row clears the parameter and removes the unused rows at the end of the list.

### Advanced

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Force sending macro through SendKeys API</strong></td><td>Send the macro keystrokes through the SendKeys API.</td></tr></tbody></table>

### See also

* [Macro parameters](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/macro-parameters.md)
* [Remote Desktop Manager typing macro to perform authentication](https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/remote-desktop-manager-typing-macro-to-perform-authentication.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/typing-macro.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
