Search found 4 matches
- Fri Feb 18, 2022 12:06 am
- Forum: Help Me
- Topic: Error Pasting Into Multiple Layers
- Replies: 7
- Views: 5253
Re: Error Pasting Into Multiple Layers
@Kukurykus, You're a wizard, that does precisely what I needed! I must say it's quite terse and cryptic, at least for my level of experience, but I think I see basically what's going on. By running your script and examining the History window, I gather that it copies the selection, creates a new cha...
- Thu Feb 17, 2022 12:32 am
- Forum: Help Me
- Topic: Error Pasting Into Multiple Layers
- Replies: 7
- Views: 5253
Re: Error Pasting Into Multiple Layers
@Kukurykus, Wow, that works! Can't say I understand it fully, but hey, I'm a Fortran programmer, and have only recently (and barely) touched my toes into javascript. I hope I'm not getting greedy by asking, is there a way to do this as Paste-In-Place rather than just Paste? That is, replace the line...
- Wed Feb 16, 2022 9:35 pm
- Forum: Help Me
- Topic: Error Pasting Into Multiple Layers
- Replies: 7
- Views: 5253
Re: Error Pasting Into Multiple Layers
@Kukurykus, Thanks for your reply, and apologies for my delayed response. I waded through what little Photoshop CS5 scripting documentation I have as best I could, and came up with this revised script: var idoc = app.activeDocument; var layerCount = idoc.layers.length; idoc.layers[0].copy() for (var...
- Wed Feb 16, 2022 1:37 am
- Forum: Help Me
- Topic: Error Pasting Into Multiple Layers
- Replies: 7
- Views: 5253
Error Pasting Into Multiple Layers
Hello all, brand-newbie here, please bear with me... I have a Photoshop document with (some large number of) multiple layers. I want to paste a selected portion of the contents of the topmost layer into all the other layers from a script. This is what I've tried: var idoc = app.activeDocument; var s...