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

is it possible to rename files as they are being imported (on extendScript)?

Engaged ,
Feb 06, 2025 Feb 06, 2025

Lets say I have these:

folder 1: 

img1

img2

folder 2:

img1

imgX

 

When importing: via:

proj.importFiles([pathToFolder1img1,..pathToFolder2img1..

The projet will contain 2 items called img1, correct?

I was wondering if I could rename them as they are being imported somehow?

I guess I can only rename them AFTER they have been imported? it is impossible to make them get custom names right when they are being imported?

 

TOPICS
SDK
117
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

Adobe Employee , Feb 06, 2025 Feb 06, 2025

PPro does not ever rename files on disk, although your ExtendScript code can.


You can use ExtendScript to rename projectItems, but projectItems do not exist until you've imported media into the project. 

It is impossible to rename a projectItem before it exists. 🙂

Translate
Adobe Employee ,
Feb 06, 2025 Feb 06, 2025
LATEST

PPro does not ever rename files on disk, although your ExtendScript code can.


You can use ExtendScript to rename projectItems, but projectItems do not exist until you've imported media into the project. 

It is impossible to rename a projectItem before it exists. 🙂

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