Skip to content
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

Guides do not exist in app.activeDocument. #386

Open
momu-2016 opened this issue Feb 12, 2023 · 0 comments
Open

Guides do not exist in app.activeDocument. #386

momu-2016 opened this issue Feb 12, 2023 · 0 comments

Comments

@momu-2016
Copy link

Hello, I am trying to develop a Photoshop plugin using uxp and following the API document guides. As written in the document, I use the following code:

const app = require("photoshop").app;
app.activeDocument.guides.add(Constants.Direction.HORIZONTAL, 20);

However, when I debug the code, I found that there is no "guides" in the "app" object, and the breakpoint debugging is as follows:
1676222446888

This issue has left me confused, and I'm looking forward to your answer. Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant