Skip to main content
Participant
December 14, 2022
Question

Can I use photoshop javaScript to add outerGlow effect to the selected layer ?

  • December 14, 2022
  • 3 replies
  • 831 views

I want to apply a red glow with 75 opacity and 5 spread to the selected layer.
Can I do it in javaScript ? Is this possible ?

This topic has been closed for replies.

3 replies

Stephen Marsh
Community Expert
Community Expert
December 19, 2022

@defaultseiiesa394z4 


So how did you go with the SL plug-in?

Bojan Živković11378569
Community Expert
Community Expert
December 15, 2022

Glow can be recorded as action step. Later you can convert to JavaScript using Xtools https://ps-scripts.sourceforge.net/xtools.html (ActionFileToJavascript). Maybe @c.pfaffenbichler and @Stephen Marsh can help further.

Stephen Marsh
Community Expert
Community Expert
December 15, 2022

@Bojan Živković11378569 - let's see how @defaultseiiesa394z4 goes with the ScriptingListener plug-in first. @willcampbell7  has a video on it here:

 

https://youtu.be/x_rMhCz-MdQ

 

c.pfaffenbichler
Community Expert
Community Expert
December 17, 2022

If I remember correctly using the »plain« code that applies one Layer Style could replace existing Layer Styles, though. 

If the Layers in question definitely have no Layer Styles applied then would naturally not be problem. 

john beardsworth
Community Expert
Community Expert
December 14, 2022

ArtLayer.applyDiffuseGlow ?

 

If that's not it, try ScriptListener.