Skip to main content
Inspiring
April 25, 2022
Answered

How automatically launch the action when a file appears in a folder from another program

  • April 25, 2022
  • 3 replies
  • 4947 views

Hi, all !

I need what PS to constantly read the folder and automatically apply the action to the each new file.

Help me !

 

This topic has been closed for replies.
Correct answer Stephen Marsh

Can you explain more about the workflow? What file types? How do images land in the folder? Is the folder local or networked? What steps does the action perform? Where will files be saved?

 

Photoshop does not have hot folders/watched folders etc.

 

There are options created with scripts for Bridge/Photoshop, here is one of them:

 

https://github.com/Paul-Riggott/PS-Scripts/blob/master/Bridge%20Hot%20Folder.jsx

 

https://github.com/Paul-Riggott/PS-Scripts/blob/master/PShotFolder.jsx

 

 

Edited: direct links to other hot folder scripts:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/automatically-run-scripts-on-files-in-a-specific-folder/m-p/8863088#U8863095

 

http://kasyan.ho.ua/bridge/hot_folder_in_bridge/hot_folder_listener.html

 

http://kasyan.ho.ua/bridge/watched_folder/watched_folder.html

 

http://kasyan.ho.ua/bridge/hot_folder_in_bridge/hot_folder_in_bridge.html

 

 

 

3 replies

Stephen Marsh
Braniac
April 30, 2022

@AndreyLarush 

 

So, how did you go?

Inspiring
April 30, 2022

hello. I was busy with other things. I checked the script - everything works as described. Question - how do I create a sequence of actions to replace your function ResaveAsPSD ?

Stephen Marsh
Braniac
April 30, 2022

@AndreyLarush 

 

I posted multiple scripts. I believe that you are referring to this one:

 

 
What do you wish to change in the ResaveAsPSD function?
 
Do you wish to save the processed file into another file format than PSD?
 
If you wish to process the file using an action/action set, then you can use the name of the action by adding a single line of code to the function, as per the following screenshot:
 
 
Otherwise, you would add in scripting instead of an action. Do you know how to script?
 
Stephen Marsh
Stephen MarshCorrect answer
Braniac
April 25, 2022

Can you explain more about the workflow? What file types? How do images land in the folder? Is the folder local or networked? What steps does the action perform? Where will files be saved?

 

Photoshop does not have hot folders/watched folders etc.

 

There are options created with scripts for Bridge/Photoshop, here is one of them:

 

https://github.com/Paul-Riggott/PS-Scripts/blob/master/Bridge%20Hot%20Folder.jsx

 

https://github.com/Paul-Riggott/PS-Scripts/blob/master/PShotFolder.jsx

 

 

Edited: direct links to other hot folder scripts:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/automatically-run-scripts-on-files-in-a-specific-folder/m-p/8863088#U8863095

 

http://kasyan.ho.ua/bridge/hot_folder_in_bridge/hot_folder_listener.html

 

http://kasyan.ho.ua/bridge/watched_folder/watched_folder.html

 

http://kasyan.ho.ua/bridge/hot_folder_in_bridge/hot_folder_in_bridge.html

 

 

 

Inspiring
April 26, 2022

How the system will work - files from one computer over a local network are copied to a special folder on another computer. Photoshop and Bridge will be installed on it. When new files appear, correction (levels, curves) from the scripts will be automatically applied.

I have not tried your scripts yet, and I would like to know if a "hot folder" for Photoshop can be implemented with their help ?

Stephen Marsh
Braniac
April 26, 2022

Thanks for explaining the workflow. There are different scripts and they are all Bridge Hot Folder based. Let the forum know how you go... Good luck!

Ranjisha Sengupta
Braniac
April 25, 2022

Hi there,

 

Thanks for reaching out; we understand the need. However, to perform the action automatically, we will need scripts.

We can do it alternately by creating droplets or creating batch actions. 

A droplet is a small executable file that allows you to drop a folder full of images onto a file on your desktop that will run an action set and create final image results stored in another folder. Using a Droplet, you can take a folder full of images and process them without opening each one individually. It allows you to perform a long series of repetitive steps on images simply and cleanly. Just drop the folder on the Droplet and walk away to let your computer do all the work.

The Batch command runs an action on a folder of files. If you have a digital camera or a scanner with a document feeder, you can also import and process multiple images with a single action. Check here to know in detail: https://helpx.adobe.com/photoshop/using/processing-batch-files.html

 

I hope this helps; feel free to reach out whenever needed.

 

Thanks.

Ranjisha

 

Inspiring
April 26, 2022

thank you, I haven't tried the droplets, but as I understood after processing the folder, I will have to click on running the script in Photoshop. I would like a completely autonomous system.

Stephen Marsh
Braniac
April 26, 2022

Droplets require a user to drag-n-drop files onto an executable/program file icon.

 

Scripts generally require a user to run them, however, the script could be set to run automatically at given timed intervals using operating system features.

 

The various links that I provided to hot folder scripts for Bridge and Photoshop are what you are looking for... That being said, you may wish or need to do other things such as save to different folders and remove existing files from the hot folder after processing.