Does anyone know how to run a pre-defined action in Photoshop using Python?
from comtypes.client import GetActiveObject
app = GetActiveObject("Photoshop.Application")
fileName = path
docRef = app.Open(fileName)
app.ExecuteAction("Script_Name") #not sure how to write it