Skip to main content
marcbjango
Known Participant
March 30, 2011
Released

P: Please add the ability for Command-J to dupe layers and layer groups

  • March 30, 2011
  • 53 replies
  • 2021 views

Command-J duplicates the entire current layer, or a portion of the current layer, if there’s a selection. It’s a great feature, and one I use daily.

For some strange reason, Command-J doesn’t do anything when there’s two layers or a layer group selected. Why? I realise there’s probably a decent technical reason for this, but a context sensitive “just dupe it” command would be really handy, even if it’s actually several different methods behind the scenes.

Is now a good time to mention that the Layer menu already contains an item that does most of these things, but it doesn’t have a keyboard shortcut by default? Pre-emptive strike: Assigning a keyboard shortcut wouldn’t help, as the menu item doesn’t duplicate selections within a layer (Command-J does).


Image is not available

53 replies

Known Participant
June 1, 2011
Assign it using the keyboard shortcuts dialog (Edit->Keyboard Shortcuts...)
Inspiring
June 1, 2011
David, I know this is basic, but how do I 'assign' your script to cmd-J? I am able to see the scrip in CS5 extended and run it manually. I can also assign a F key to run the script, but how do I have the cmd-J to run it? Thanks in advance
Inspiring
May 6, 2011
David's script is fantastic. Thanks David.
marcbjango
Known Participant
May 6, 2011
It seems like a perfect demonstration of why scripting ability and direct feedback to the Photoshop team is a great combination. It lets fringe features be built and tested.

"Should be a feature" only exists after someone—either from the public or at Adobe—has suggested it.

I've been pushing for this feature for almost a year now and am very excited that maybe some day soon it'll be part of Photoshop and therefore accelerate my workflow.
Legend
May 3, 2011
The point of this site is for folks to make feature requests for improvements directly to Photoshop - and this idea is a good one that's under consideration. A side benefit is that cool users like David Jensen and Shangara are posting helpful scripts to help improve users workflows in the meantime.
Participating Frequently
May 3, 2011
Thats an interesting script, but honestly why do we have to do this manually when it should be a feature?
Participating Frequently
May 3, 2011
agreed. seems dumb simple to me.
Inspiring
May 2, 2011
The script could do with a header. I wrote one but cannot post it here (see image). Grrr! Still cannot do it.

}

Image is not available

Edward Caruso Photography
Participating Frequently
April 11, 2011
Thanks again David that helps. But I'd love a preference in the next version of PS to have the modal windows replace the panel. I'm still trying to find ways to fully recreate modal dialogues like CS3. I feel that the adjustment panel is a big step backwards and it really slows me down. So many aspects of the panel bother me - I guess I'll start a proper feature request on this site. if you have any other adjustment layer scripts i would definetly check them out.
Known Participant
April 11, 2011
You can assign this script to a keyboard shortcut to modify any* adjustment layer with a modal dialog. (*it doesn't work with gradient maps, though.. not sure why). You can't override the double-click behavior with a script.
http://sites.google.com/site/davidjen...

A panel could be made to make new adjustment layers and automatically open their editor.