Ausgabe
Weiß jemand, wie man eine vordefinierte Aktion in Photoshop mit Python ausführt?
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
Lösung
app.ExecuteAction()
ist ein anderes Biest – es dient zum Ausführen von ActionManager-Scrings. Was Sie brauchen, istapp.DoAction('action_name', 'set_name')
Beantwortet von – Sergey Kritskiy
Antwort geprüft von – Mildred Charles (FixError Admin)