Looks like there is a bug. I tried this with CS6, will have to try with 2014 when I get home. Just a basic DOM line should change the fill opacity for a group. It works for a normal layer, and it works when changing the opacity of a group, but not the fill opacity:
#target photoshop var doc = activeDocument; var k=doc.activeLayer; k.fillOpacity = 50;//will not work on group
#target photoshop var doc = activeDocument; var k=doc.activeLayer k.opacity = 50//will work on group
Considering that it seems so far to be impossible to change a Group’s Fill via Keyboard Shortcut (shift-number) as a plain Layer I suspect a bug, too.
Sometimes the scriptListener code does not record all the proper information, such as which layer. I've run across this with other things. I'm guessing that because it will work with the DOM code, there is something wrong and most likely it won't work with scriptListner code.
1 person found this helpful
This looks like a bug to me. Here are easier steps to reproduce:
Create a document with a pixel layer inside a layer group.
Select the layer group in the layers panel.
Start recording an action
Change the fill opacity.
Stop recording action
I've logged this as bug 3858283 for those keeping score.
It’s good to see that this kind of stuff gets attention.
Thanks for the quick attention!