Copy link to clipboard
Copied
Hi,
Happy morning everyone...
I need to use the droplet functionality with my photoshop javascript... plz advice
current scenario is,
Now all the files I process from different folders will go to the same folder and that is - "../desktop/processed_files"
So I need a block of code that,
Finally, the source folder will have only two folders, one with the original files and another with the processed files
Thanks in advance...🙂
Copy link to clipboard
Copied
It would probably help to post your existing script code. Please use the </> insert code button.
Do you really mean droplet (file>automate>create droplet)? Are you currently using a script with a droplet?
A droplet is meant to batch input files that are dragged onto the droplet icon, so why would it then need to prompt for files using script code run by the droplet? It does not make sense to me... Or do you mean that you currently use a droplet, however now you need to move beyond droplets into scripts?
What file format should the source files be saved in? The same as input or something else? What if the input file was a JPEG?
And finally, can you script and are looking for some help in key areas – or do have no knowledge of scripting and need the script built from scratch?
Copy link to clipboard
Copied
Thank you for the reply sir...
I am a beginner and I am trying to learn from scratch...
So used script listeners to get the code... and started with a simple task of resizing the canvas size and saving it, below is the screenshot of what I did...
Although it can be done with action itself, as a kickstart for learning I have inserted the script listeners canvas size code into the action...
Then I converted this into a droplet and used it...
Finally, what I tried to create is a .jsx file that does the below mentioned points when either files are dropped onto it or by prompting for a source_folder_location..
Copy link to clipboard
Copied
A script can use a prompt for things like a output folder. The script will be interactive like a dialog up front for and output batch or interactive for each file save that is saved. A ScriptUI Dialog or folder select dialog could be used instead of a prompt. None of these will be generated via Scriptlistener Plug-in. You need to learn some scripting and write the code required for these. There are many Script you can download from the web that doe these things. Download scripts and read their code most are not save in binary you can read the code.
Use Google to search this site search can not be used the search for script code posted in these forums.
Copy link to clipboard
Copied
Thank you sir...
Sorry for trouble...
Copy link to clipboard
Copied
U tried to help me but I didn't have clarity in ps scripting... thanks for the help... will learn something and get back soon....