# Create custom app commands

{% hint style="info" %}
To create custom commands you have to have a basic understanding of how [AutoHotKey](https://www.autohotkey.com/) works. Droptop uses `ahk` scripts to simulate hotkeys press to execute your command.
{% endhint %}

To create you app commands, click on the app menu you see on the bar (if you have that disabled check [General folders options](/setting-up/behaviour/general-folders-options.md#show-application-menu)) and if you still haven't created any app command, you have to click on the `Create app commands...` button.

<figure><img src="/files/6DDrYXcJQihZJ9yUlygp" alt="" width="276"><figcaption></figcaption></figure>

If you already have some commands, go to `More options >> Define hotkeys`.

After clicking on the button, a pop-up will appear where you can set you app commands.

<figure><img src="/files/hnkIc4LKstz5DXEymFFu" alt=""><figcaption><p>The Create commands tool</p></figcaption></figure>

1. Select any row to put a command
2. Double click on the `Action name #` and put the name of the action that command will perform
3. Instead of the number you can put an unicode emoji to identify the command on the droptop bar if you enabled the [General folders options](/setting-up/behaviour/general-folders-options.md#show-application-commands) option
4. On the bottom chose if the action the command will perform is an hotkey or if it has to run a program, and select accordingly&#x20;
   * If you want to execute an hotkey, write the hotkey command to be sent by AutoHotKey. To help you with the configuration you can click on the keyboard icon that will display an interactive keyboard that will complete the hotkey easily
   * If you want to run a program, paste the path of the program you want to launch
5. Chose a color of the command by clicking on the white dot and adjust the RGB values to reach the color you want
6. Click save commands to close the tool, and the commands will be available right away

{% hint style="info" %}
Remember to click enter when you finish writing
{% endhint %}

## Share your commands

If you want to share your commands for a specific app with someone, open the tool again and click on the share button. Your commands will be compiled and a folder with an `.rmskin` of your commands will open. Share that file to anyone that needs it!

{% hint style="info" %}
A Powershell window could appear during compiling, that's normal
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.droptopfour.com/app-commands/create-custom-app-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
