Copy link to clipboard
Copied
I downloaded ExtendScript Debugger in vscode's plugin store,
I want to find the code related to esdebug
What I understand now is that the core content is a .node file
I learned that this .node file can directly interact with photoshop
But the project content in this plugin folder seems to be missing a part
I can't find this src directory
so that I now have no way to get all the type declarations to use this .node file
Can someone tell me the download address of this file,
or the relevant development experience of this .node file?
Copy link to clipboard
Copied
My English is not very good so I used Google Translate, sorry if it caused some confusion
Copy link to clipboard
Copied
So, it sounds like you're trying to find type declarations for ExtendScript, right?
These are not made available directly from Adobe for ExtendScript, but there are definitions maintained by the community here: https://github.com/aenhancers/Types-for-Adobe
Copy link to clipboard
Copied
On second thought. I asked the developer... they said this file was intentionally not included.
What exactly are you trying to accomplish with Photoshop? This module is very specific to the debugger and was never intended for public consumption. If you let us know what you’re trying to do, we may be able to suggest alternative strategies/directions to assist you.
Copy link to clipboard
Copied
As far as I know, photoshop can be controlled through esdcorelibinterface,
so I wrote a script to call esdcorelibinterface,
so as to open a psd or execute a photoshop script through command line operation photoshop
Copy link to clipboard
Copied
As far as I know, photoshop can be controlled through esdcorelibinterface,
By @Meng28164342lwhx
That is not correct. The esdcorelibinterface library is specialized to facilitate debugging. It has the ability to communicate with host applications but it does so over the Debugger Protocol. It is not intended for the use case you describe.
I suspect that what you're attempting to do can be accomplished through the command line with AppleScript though I have no idea how all of that works.