【发布时间】:2019-01-10 21:27:29
【问题描述】:
尝试在 Python 中获取 Adobe After Effects 的 DOM/COM 对象模型,以便我可以操作/编写应用程序的各个部分。这在其他 Adobe 应用程序上是可能的,如下所示:(https://github.com/lohriialo/photoshop-scripting-python, https://github.com/lohriialo/indesign-scripting-python)。
在查看 COM 对象查看器后,我仍然没有计算出 After Effects COM ID。
因此,理想情况下,可以使用与此类似的代码加载 DOM:
import win32com.client
app = win32com.client.Dispatch('XX')
XX 类似于 AfterEffects.Application,
非常感谢大家的帮助,一旦解决了这个令人不安的问题,我正在整理的图书馆;可以在这里找到:https://github.com/samholt/after-effects-scripting-python
最好的,
山姆
【问题讨论】:
-
这方面有进展吗?
标签: python dom com adobe after-effects