Are you making an Action or a Script?
And what exactly are you doing – hiding the other Layers for exporting, saving a copy with just that Layer, …?
Is the Group expanded in the Layers Panel?
If so selecting the next Layer should work fine – could you please post a screenshot with the Layers Panel visible?
Action, if its possible via an action. This is what im trying to do.
Current Layer - Make Visible (working)
Export as png (working)
Turn current layer visability off (working)
Select next layer below (these layers are in a group and masked at the group folder level)
At this point it selects the group below and not the layer below
how strange, after reboot its working fine. Thanks for your help
So select the next layer again (if the group is expanded).
Have you tried File > Scripts > Export Layers to Files yet?
An other thing you should be aware of is while You can step though layers in a scripts its not always posible in Actions. The Shortcut Keys Alt+[ and Alt+] do not always select the previous and the next layers. They only select visible layers. If you add a layer and turn off its visibility and want to select other layers and be able to select the layer you added and turned of its visibility you need to name that layer and select it by name.....