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

To create folder

Community Beginner ,
Jan 17, 2017 Jan 17, 2017

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.

TOPICS
Actions and scripting
953
Translate
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

correct answers 1 Correct answer

Community Expert , Jan 17, 2017 Jan 17, 2017

Hi sarshan​,

on Windows you can

// for Windows

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

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

Have fun

Translate
Adobe
Community Beginner ,
Jan 17, 2017 Jan 17, 2017

Hey sarshan! Can you be a litle more specific?

Maybe this can help you out:

Translate
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 17, 2017 Jan 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.

Translate
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 ,
Jan 17, 2017 Jan 17, 2017

Hi sarshan​,

on Windows you can

// for Windows

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

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

Have fun

Translate
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 18, 2017 Jan 18, 2017
LATEST

It works! Thank you so much!

Translate
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