Copy link to clipboard
Copied
Hi there
I have written a photoshop script. But instead of placing the file in the script folder, I want to run it from api. I'm not sure if its applicable to do that in photoshop. Can someone please help me with this.
Thanks,
Kishor
Copy link to clipboard
Copied
Try Photoshop SDK Connection
Copy link to clipboard
Copied
I'll look in to that one. Just wondering if you have any good tutorial or guidelines.
Thanks,
Kishor
Copy link to clipboard
Copied
What is API? A script can be run from anywhere. None of my scripts are in \presets\scripts\
Copy link to clipboard
Copied
Hi JJMack
I want to connect photoshop remotely and run the script from web api. photoshop-generator is something that I'm looking for. But i'm struggling to work jsx in it.
A script can be run from anywhere. Does that mean you browse the script?
Thanks
Kishor
Copy link to clipboard
Copied
You can Browse for a script. You can hard code the path into an action via recording a browse to the script and you can also link Photoshop ..\presets\scripts\ to your Script tree and use them via menu>scripts\scriptname. As far as running Photoshop via a script using a web api as web application only Adobe can do the. If you setup Photoshop as a web service that would violate your agreement with Adobe. Adobe licenses terms is Photoshop use as single use or per seat use for volume licence's. You could connect to a machine remotely and use Photoshop remotely as the single use seat.Multiple users can not concurrently use a single user licence install.
I'm not a layer but that is how I understand the terms of my subscription seems to mean.
Copy link to clipboard
Copied
Thanks JJMack.. I think that makes more clear now and if its comes to the adobe license, don't think I can do a lot. But is there any other way round that I can achieve it. At the moment, what I am doing is, I have a web form that collects a data and generate a json file. And script do the job based on that json file. My concern is to use api instead of json and to protect script file so that it can not be copied. I'm using node js.
Thanks,
Kishor
Copy link to clipboard
Copied
With connection SDK you can control Photoshop remotely if you have public IP. You must have correct pasword on both sides and PS servers must be enabled. This should not store scripts in your PC.
Copy link to clipboard
Copied
Jarda Bereza, wasn't the Connection SDK used also for mobile apps? I looked into that years ago, but never got really involved.
Copy link to clipboard
Copied
Yes it works with TCP protocol. You can use any language you want which can use TCP.
Copy link to clipboard
Copied
Hi Jarda Bereza
I'm using node js and can connect photoshop remotely with the help of generator-core. I have already written my jsx which is working completely fine. Just wondering if there any easiest way to use my jsx in javascript. I'm struggling to use my jsx in javascript.
Thanks
Copy link to clipboard
Copied
Probably not. Look at Library panel which is Photoshop built-in feature made by Adobe. They use it same way.
Copy link to clipboard
Copied
yeah.. I think i'll see what others has done. Thank Jarda Bereza
Find more inspiration, events, and resources on the new Adobe Community
Explore Now