photoshop-python-api icon indicating copy to clipboard operation
photoshop-python-api copied to clipboard

在子进程中调用api会出现Please check if you have Photoshop installed correctly.

Open lyf6 opened this issue 3 years ago • 12 comments

lyf6 avatar Feb 24 '22 02:02 lyf6

@lyf6

  1. 确保本地的photoshop是正常安装的,不是使用的绿化版或者其他版本,因为此API会通过注册列表去查找
  2. 可能是API的调用问题,能不能麻烦能给出相应的代码方便我这边帮你debug下。

loonghao avatar Feb 28 '22 05:02 loonghao

请问如何解决,直接调用确实没问题。

qingpingwang avatar Apr 03 '24 10:04 qingpingwang

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Please tell me how to solve it. It is indeed no problem to call directly.

Issues-translate-bot avatar Apr 03 '24 10:04 Issues-translate-bot

5825606F53DE7E91C2937A1BA7F36532

qingpingwang avatar Apr 07 '24 03:04 qingpingwang

5825606F53DE7E91C2937A1BA7F36532

add pythoncom.CoInitialize() at first, and then work fine!

qingpingwang avatar Apr 09 '24 06:04 qingpingwang