• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
29

Allow keyboard shortcuts to run scripts by name

Contributor ,
Jan 02, 2023 Jan 02, 2023

Copy link to clipboard

Copied

Keyboard shortcuts can already be used to run scripts but they are assigned by index, not name, and are limited to the first 20 scripts in the Scripts folder. If you assign a keyboard shortcut to a script called 'Very Important Script.jsx' and later add another script called 'Another Script.jsx' to the Scripts folder, the keyboard shortcut gets unseated because A comes before V.  Now the shortcut fires whatever script was before Very Important Script in the list of scripts.

 

This is confusing behaviour for most users and is not well documented. It's especially bad because it seems to work by name, until it doesn't. There are a number of videos out there (from very reputable sources), which show users how to assign shortcuts to scripts, but don't explain this issue.

 

Ideally, scripts would be assigned shortcuts by filename, and all the scripts in the Scripts folder would be available. This could also allow developers to access the shortcuts .txt file and add a permanent shortcut to their script (without having to know it's index), making the entire process easier for end users.

Idea Acknowledged
TOPICS
Scripting

Views

938

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Pinned Reply

Adobe Employee , Jan 10, 2023 Jan 10, 2023

Thanks for the request @SteveKirby! I've changed this thread into an Idea so it can continue gathering upvotes.

 

Cheers,

- John, After Effects Engineering Team 

Status Acknowledged

Votes

Translate

Translate
6 Comments
Community Expert ,
Jan 02, 2023 Jan 02, 2023

Copy link to clipboard

Copied

That would be amazing!

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

Votes

Translate

Translate

Report

Report
Participant ,
Jan 04, 2023 Jan 04, 2023

Copy link to clipboard

Copied

Yeah, this should totally happen and the limitation to 20 scripts should also be removed. Not sure how likely it's that's going to happen, though?

The only workaround I could think of right now would be to actually create a C++ plugin that registers a menu command (or multiple ones) and then just execute the script file from there. And you can much easier apply a shortcut to a regular menu command than to a script itself. Haven't gotten into plugin development yet though, but probably just registering a menu command shouldn't be too difficult.

Votes

Translate

Translate

Report

Report
Contributor ,
Jan 10, 2023 Jan 10, 2023

Copy link to clipboard

Copied

@JohnColombo Could this be re-assigned as an Idea not a Discussion? Could swear I marked it as such but I guess not.

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Jan 10, 2023 Jan 10, 2023

Copy link to clipboard

Copied

Thanks for the request @SteveKirby! I've changed this thread into an Idea so it can continue gathering upvotes.

 

Cheers,

- John, After Effects Engineering Team 

Status Acknowledged

Votes

Translate

Translate

Report

Report
Contributor ,
Jan 10, 2023 Jan 10, 2023

Copy link to clipboard

Copied

Thanks!

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 08, 2023 Nov 08, 2023

Copy link to clipboard

Copied

LATEST

Oh yes, very much this, please. For now I had to change Keycloner scripts names with numbers in front of them because they were being unconfigured constantly.

Votes

Translate

Translate

Report

Report