Skip to main content
marcbjango
Known Participant
Mar 30, 2011 6:10 AM UTC
Released

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

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
Jun 1, 2011 1:04 AM UTC
Assign it using the keyboard shortcuts dialog (Edit->Keyboard Shortcuts...)
Translate
Inspiring
Jun 1, 2011 12:32 AM UTC
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
Translate
Inspiring
May 6, 2011 4:22 AM UTC
David's script is fantastic. Thanks David.
Translate
marcbjango
Known Participant
May 6, 2011 1:51 AM UTC
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.
Translate
Legend
May 3, 2011 4:55 PM UTC
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.
Translate
Participating Frequently
May 3, 2011 3:12 PM UTC
Thats an interesting script, but honestly why do we have to do this manually when it should be a feature?
Translate
Participating Frequently
May 3, 2011 3:11 PM UTC
agreed. seems dumb simple to me.
Translate
Inspiring
May 2, 2011 6:38 AM UTC
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

Translate
Edward Caruso Photography
Participating Frequently
Apr 11, 2011 4:10 AM UTC
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.
Translate
Known Participant
Apr 11, 2011 12:27 AM UTC
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.
Translate