[FIXED] Python getActiveObject – FOTHOTHOP -Aktion ausführen

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)

0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like