• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Watch Folder

New Here ,
Nov 05, 2012 Nov 05, 2012

Copy link to clipboard

Copied

Hello,

Is there a way to have Photoshop watch a folder for new images and run some actions on the newly added files - after which removing the original from that folder.

I need to automate the follwoing:

Image is added to watch folder

Photoshop

  1. Detects new image
  2. Opens image
  3. Runs actions
  4. Saves to a new directory

File is deleted from watch folder.

I am on Mac 10.7 and have Automator at my disposal. I'm also familiar with scripting but not specifically for Photoshop so I prefer scripting would be the last resort.

Any help or guidance is greatly appreciated.

Thank you!

V

TOPICS
Actions and scripting

Views

24.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Mar 05, 2019 Mar 05, 2019

Copy link to clipboard

Copied

If rename does not work.  Try the other way.   fileObj.copy( to the originals folder) followed by fileObj.remove();

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 28, 2022 Jul 28, 2022

Copy link to clipboard

Copied

Hi,

I did follow the steps…

1) Created a HotFolder.jsx file and copied it to "Bridge 2022 > Startup Scripts" folder

2) Created a PShotFolder.jsx file and copied it to the "Adobe Photoshop 2022 > Presets > Scripts" folder.

3) Added this code into the PShotFolder.jsx, below the line

//Add your own code to suit your needs

4) relaunched the Bridge and Photoshop

 

… but as 'flysi3000' said, "This looks like it would work perfectly for what I'm trying to do, but I can't seem to make it actually launch the target script. The Hot Folder menu item is added, I can start the Hot Folder, which then triggers Photoshop CC to launch, but then that's as far as it gets."

 

I too am facing the same issue, nothing happens. I also couldn't find out where these hot folders are being created by the script.

Please help me I'm on macOS Monterey, v12.3.1

Thanks,

Masood

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 28, 2022 Jul 28, 2022

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 28, 2022 Jul 28, 2022

Copy link to clipboard

Copied

LATEST

And I'll add that this is an old thread, ScriptUI has changed a bit, and what worked before may or may not work now.On macOS I'd probably try an Automator or Shortcuts action to call Photoshop.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 05, 2014 Jan 05, 2014

Copy link to clipboard

Copied

Hi, did you ever find a solution for this? I'm looking to do the same.

Let me know,

Luca

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines