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

Action behaving differently when activated via a hotkey vs activated manually

Community Beginner ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

Hello, my action is behaving correctly if I activate it via the ''Play Selection'' or ''Button Mode > Click the action'', but is behaving differently if activated via the hotkey assigned to it, why is that

 

Example short video attached, first instance is how it should behave, but the second instance it behaves differently.

 
TOPICS
Actions and scripting

Views

228

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 Correct answer

Community Beginner , Jan 19, 2024 Jan 19, 2024

I've just changed the hotkey from ''SHIFT + F4'' to ''CTRL + F4'' and the issue isn't present, I believe the issue lies with the shift key being used, if you select the ''Rectangular Marquee Tool'' or the ''Lasso Tool'', and hold shift, the tool switches to selection addition, which is somehow interfering with the action causing it to behave this way.  

Votes

Translate

Translate
Adobe
Community Expert ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

I can’t make out the exact steps of the Action in the video, could you please post screenshots? 

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 Beginner ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

Hello, here is a screenshot of the steps in the action 

imAnoob079_0-1705664283669.png

 

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 ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

Please uncheck all but the first step (Color Range) – what is the resulting Selection? 

How did you record the »Color Range«-step exactly? 

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 Beginner ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

I've attached a video showcasing what happens when I uncheck all but the first step, and how I recorded the »Color Range«-step.

I recorded the action like so: 
Select an area via the Rectangular Marquee Tool > Turn on action recording > Select > Color Range > Select > Modify - Expand > Content Aware Fill > Deselect (CTRL + D) > Merge layer down (CTRL + E) > Done

 

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 Beginner ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

I've just changed the hotkey from ''SHIFT + F4'' to ''CTRL + F4'' and the issue isn't present, I believe the issue lies with the shift key being used, if you select the ''Rectangular Marquee Tool'' or the ''Lasso Tool'', and hold shift, the tool switches to selection addition, which is somehow interfering with the action causing it to behave this way.  

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 ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

Please try recording the step when you invoke »Color Range« with alt-shift pressed. 

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 Beginner ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

The issue remains if ''SHIFT + CTRL'' are used, so I guess shift just cannot be used in this sort of action as a hotkey, is there any way to make shift work?

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 ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

I hadn’t noticed the qualifier-key in the shortcut but I think your conclusion is correct. 

When a Selection is created the qualifier-keys matter and apparently the key is honored a bit longer than the »pure« starting of the Action and thus messes this task up. 

 

A crude workaround might be including something »unnecessary« at the start of the Action to essentially make it hesitate – like Enter QuickMask Mode, Exit QuickMask mode. 

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 Beginner ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

I tried that just now and it doesn't seem to help, I've also tried adding multiple extra unnecessary steps like expanding or contracting the selection, to no avail.

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 ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

How about you include creating the rectangular selection in the Action itself? 

• create a rectangle with the Rectangle Tool (set to Path) 

• transform it (set »Toggle dialog on/off) 

• load as a Selection 

• … 

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 Beginner ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

I've tried doing that just now, I might have done it wrong, attached video

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 ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

LATEST

Screen Recording 2024-01-19.gif

Edit: Using the path would naturally only be a work-around. 

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