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

Assign a keyboard shortcut to an Action

Participant ,
Nov 01, 2019 Nov 01, 2019

Copy link to clipboard

Copied

I know how to assign a keyboard shortcut to an action I create, but how do you assign a keyboard shortcut to an action that already exists?

 

I have an action that I downloaded to do some layer modifications and call an external plugin. The action works well but I want to assign a keyboard shortcut to it but can find no way to do that, and it is involved enough that I don't want to create it manually, even though I could assign a shortcut to it while creating it. I have looked all through the context menu for the Actions Panel and could find nothing that allows me to create a shortcut for an action already in the Action Panel.

 

As an alternative I tried to create the shortcut when I imported the action, but that did not work either.

 

Is there any way to do either?

 

UPDATE:

Apparently my problem was that I had the Action name selected and not the first part of the Action. When I selected that I was presented with the dialog box to add a shortcut to the Action so my problem has been solved.

 

 

TOPICS
Actions and scripting

Views

1.5K

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 2 Correct answers

Community Expert , Nov 01, 2019 Nov 01, 2019

Although you already found one answer, you can go to the Action panel menu (hamburger icon) and select "Action Options." Then the dialog box will come up to assign the KBSC.

action kbsc.jpg

Votes

Translate

Translate
Community Expert , Nov 01, 2019 Nov 01, 2019

It looks like you're on the action set, rather than an individual action, so, yea, you wouldn't be able to set a KBSC from there. It sounded like you had to select the first step of an individual action to set the KBSC.

Votes

Translate

Translate
Adobe
Community Expert ,
Nov 01, 2019 Nov 01, 2019

Copy link to clipboard

Copied

Although you already found one answer, you can go to the Action panel menu (hamburger icon) and select "Action Options." Then the dialog box will come up to assign the KBSC.

action kbsc.jpg

Votes

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
Participant ,
Nov 01, 2019 Nov 01, 2019

Copy link to clipboard

Copied

Yes. Thank you.

The key seems to be that you must have the first entry in the Action selected, not the name of the Action. If you use the name you do not get these options.

 

Votes

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
Community Expert ,
Nov 01, 2019 Nov 01, 2019

Copy link to clipboard

Copied

I just selected the action, and had no problem bringing up the options panel to add a KBSC. 

Votes

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
Participant ,
Nov 01, 2019 Nov 01, 2019

Copy link to clipboard

Copied

PerhapsI am using the wrong terminology, but when I select the Action Name I do not get the option to set a keyboard shortcut but when I select the first item in the Action I do get the option. Here are screen shots of the first and second cases and you can see that the Action Options selection is not available in the first.

 

First selection - Option not availableFirst selection - Option not availableSecond selection - option is availableSecond selection - option is available

Votes

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
Community Expert ,
Nov 01, 2019 Nov 01, 2019

Copy link to clipboard

Copied

It looks like you're on the action set, rather than an individual action, so, yea, you wouldn't be able to set a KBSC from there. It sounded like you had to select the first step of an individual action to set the KBSC.

Votes

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
Community Expert ,
Nov 01, 2019 Nov 01, 2019

Copy link to clipboard

Copied

If you require more flexibility in your keyboard shortcuts than is offered via actions, the action can be referenced by a keyboard shortcut applied to a script:

 

https://prepression.blogspot.com/2016/11/photoshop-scripting-actions.html

 

 

 

app.doAction("My Action","My Action Set.atn");

 

 

Yes, it is convoluted, but that is the price to pay for a better keyboard shortcut!

 

Votes

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
Participant ,
Nov 02, 2019 Nov 02, 2019

Copy link to clipboard

Copied

That looks like a good solution. I will try that.

 

Thank you for the suggestion.

 

Votes

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
Participant ,
Nov 02, 2019 Nov 02, 2019

Copy link to clipboard

Copied

Well, I guess I am going to have to learn some Photoshop scripting after all. A simple script using the app.doAction command continues to give me a syntax error and I am not sure why. The only solution I know is to learn enough of scripting to figure out what is going on.

 

I suspect that the issue involves learning enough of the Photoshop SDK to figure out how to write basic scripts as javascript itself is pretty basic. I guess I have been avoiding that because it seemed like a lot of trouble to create a simple script, but it is what it is. 

 

Votes

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
Community Expert ,
Nov 02, 2019 Nov 02, 2019

Copy link to clipboard

Copied

The only reason I mentioned this route was because the action keycuts are not that great.

 

I am guessing that the file is saved as an RTF and not plain text. Just use NotePad or another simple editor on Windows, on a Mac TextEdit provides both rich and plain text options, so be careful or just use BBEdit or another plain text editor. Ensure that the script has a .jsx extension and not TXT.

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

Votes

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
Participant ,
Nov 02, 2019 Nov 02, 2019

Copy link to clipboard

Copied

LATEST

Created a script calling the action and that now works with a regular keyboard shortcut. Thanks for the suggestion.

 

Votes

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