-
Notifications
You must be signed in to change notification settings - Fork 79
COMError on doJavaScript #137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Looks like it's because of the character Can you test other text content? just to be sure if it's causing it |
@loonghao It means |
Very strange, I want you to help me test other examples, wondering if none of the other examples work or only this one. |
It is often when there is an "error in photoshop-side" in your code that COMError emerges. For example, when you use |
@TsXor No, as you can see from the error message, it is because of system language. |
It is just error message. On system with Chinsese language, it will show |
@TsXor As I wrote, I tested it with the examples of the project: https://loonghao.github.io/photoshop-python-api/examples/#eval-javascript |
Then we should find where is wrong. Try that js. |
Also, did ps alert anything? |
this is because the 'doJavaScript' should be 'DoJavaScript' with uppercase 'D'. |
Describe the bug
I'm trying to run javascript with doJavaScript, but i t throws a com error.
To Reproduce
Just run the example: https://loonghao.github.io/photoshop-python-api/examples/#eval-javascript
Desktop (please complete the following information):
Additional context
The traceback:
The text was updated successfully, but these errors were encountered: