Skip to main content
Known Participant
January 17, 2017
Answered

To create folder

  • January 17, 2017
  • 1 reply
  • 975 views

I would like to create folders based on names (Simple and Medium) using Photoshop Scripting. It would be much appreciated if someone could help me making this.

This topic has been closed for replies.
Correct answer pixxxelschubser

Hi sarshan​,

on Windows you can

// for Windows

var folder1 = Folder("/x/qa/Team/Saravanan");

if (!folder1.exists) {folder1.create();}

Have fun

1 reply

Participant
January 17, 2017

Hey sarshan! Can you be a litle more specific?

Maybe this can help you out:

sarshanAuthor
Known Participant
January 17, 2017

Hi Diegobxh!

Thank you for your help.

The link you shared is really helpful. But I would like to create the folders on different directories rather than Desktop.

eg: "X:\qa\Team\Saravanan", this is the location where folders to be created.

pixxxelschubser
Community Expert
pixxxelschubserCommunity ExpertCorrect answer
Community Expert
January 17, 2017

Hi sarshan​,

on Windows you can

// for Windows

var folder1 = Folder("/x/qa/Team/Saravanan");

if (!folder1.exists) {folder1.create();}

Have fun