From b7686494a33e946c371fb2fbe42c888cf4392430 Mon Sep 17 00:00:00 2001 From: Jorian Rutten Date: Wed, 5 Nov 2025 16:10:37 +0100 Subject: [PATCH] Add 'Command' explanation to `.aseprite-keys` documentation Added a paragraph to explain that you need to create custom commands to be able to hook up custom key shortcuts to extension functionality. Added link to API documentation for :NewCommand(). Since it links from the Docs repository to the API repository, I had to use a hardcoded website link. If there is a better way to do that, let me know --- extensions/keys.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/extensions/keys.md b/extensions/keys.md index d2e59b3..867e35c 100644 --- a/extensions/keys.md +++ b/extensions/keys.md @@ -47,6 +47,13 @@ can be created / exported from [Edit > Keyboard Shortcuts](keyboard-shortcuts.md ``` +When creating a keyboard shortcut for custom functionality in an +aseprite extension, you must create a New Command for it first. +You can then use that Command's title to bind the functionality +to the shortcut using the `.aseprite-keys` file. + +You can read more on how to create Commands in the [API documentation](https://www.aseprite.org/api/plugin#pluginnewcommand) + --- **SEE ALSO**