photoshop-scripting-python
photoshop-scripting-python copied to clipboard
mac scripting no longer working / supported
appscript is no longer actively developed / supported and doesn't seem to work in the newest mac OS.
Mac scripting is still supported, it's just that the default way appscript get's the terminology (via an AETE event) is deprecated and no longer supported in recent Photoshop versions. You just need to specify terms="sdef"
as a parameter when you create the Photoshop instance in Python like so:
from appscript import app
ps = app(id="com.adobe.Photoshop", terms="sdef")
ps.current_document
(I'm using id= here, you can still use name or path)
Edit: After just double checking, the "open" function error seems to have been fixed.