Copy link to clipboard
Copied
Would be nice to have a toggle that turns off the layer object but keep the Layer Style on. For example, like in AE, would like to apply shadow to an object, but not see the object and only have the shadow layer style in use... etc...
Copy link to clipboard
Copied
Hit shift-0 twice in rapid succession. .
Copy link to clipboard
Copied
Doesn't work
Copy link to clipboard
Copied
Does hitting shift-5 set the Fill to 50%?
Copy link to clipboard
Copied
The shortcut can be tricky, alternatively just turn 'Fill Opacity' to 0%
Dave
Copy link to clipboard
Copied
The shortcut can be tricky, alternatively just turn 'Fill Opacity' to 0%
Dave
This could be recorded in an Action and a shortcut assigned to that.
Copy link to clipboard
Copied
Doesn't work either
Copy link to clipboard
Copied
Could you please post screenshots taken at View > 100% with the pertinent Panels (Toolbar, Layers, Options Bar, …) visible?
Of both states (with 100% Fill and 0% Fill)?
Copy link to clipboard
Copied
Works as expected here.
Copy link to clipboard
Copied
Fill works here also, used it for years.
That is the difference between Opacity and Fill. Opacity impacts the transparency of everything on the layer, whereas Fill reduces the transparency of pixels (or shape or text) but leaves layer effects unchanged. (Not sure why they label it Fill Opacity in blending options though).
https://helpx.adobe.com/uk/photoshop/using/layer-opacity-blending.html
Dave
Copy link to clipboard
Copied
Although keyboard shortcuts or actions can do this, I decided to create a script as that can contain extended conditional logic (as opposed to the limited logic available to conditional actions). A custom keyboard shortcut can be assigned to scripts installed in the Preset/Scripts directory, or you could record the script execution into an action and use an action F-Key shortcut:
/*
Toggle Layer Fill Opacity.jsx
Stephen Marsh
v1.0 - 1st February 2025
https://community.adobe.com/t5/photoshop-ecosystem-discussions/layers-panel-with-toggle-to-hide-layer-but-keep-effect/td-p/15119972
*/
#target photoshop
// Ensure a document is open
if (app.documents.length > 0) {
var doc = app.activeDocument;
// Check if the active layer is the background layer
if (!doc.activeLayer.isBackgroundLayer) {
var layer = doc.activeLayer;
// Check for an active layer by jazz-y
s2t = stringIDToTypeID;
(r = new ActionReference()).putProperty(s2t('property'), p = s2t('targetLayers'));
r.putEnumerated(s2t("document"), s2t("ordinal"), s2t("targetEnum"));
if (executeActionGet(r).getList(p).count) {
// Check if the layer has a style
var hasLayerStyle = false;
try {
var styleReference = new ActionReference();
styleReference.putProperty(s2t('property'), s2t('layerEffects'));
styleReference.putEnumerated(s2t('layer'), s2t('ordinal'), s2t('targetEnum'));
var styleDescriptor = executeActionGet(styleReference);
if (styleDescriptor.hasKey(s2t('layerEffects'))) {
hasLayerStyle = true;
}
} catch (e) { }
// Check the current fill opacity if the layer has a style
if (hasLayerStyle) {
var currentFillOpacity = layer.fillOpacity;
// Toggle the fill opacity
if (currentFillOpacity == 100) {
layer.fillOpacity = 0;
} else if (currentFillOpacity == 0) {
layer.fillOpacity = 100;
} else {
//alert("The fill opacity is neither 0% nor 100%! Current fill opacity: " + currentFillOpacity + "%");
}
} else {
//alert("The layer does not have a style!");
}
}
} else {
//alert("The active layer is the Background layer!");
}
} else {
alert("No document is open!");
}
https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html
Copy link to clipboard
Copied
Hmmmm will give a try this week and report back...