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

Photohsop UXP API not working

Explorer ,
May 24, 2023 May 24, 2023

Copy link to clipboard

Copied

Hi, 
    I am using the UXP API to create the text file at a specific location but the text file is not creating. 
My requirement is that - create a text file without showing/pop-up dialog box and I file should be saved at "User's Document" folder or any other drive or outside of plugin-data, plugin-temp, plugin folder.

I write this script to create the file inside the user's document folder but it's not working (file is not creating).

               await
fs.createEntryWithUrl("file:/Users/<username>/Documents/test.txt", { overwrite: true });
TOPICS
SDK

Views

322

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
Adobe Employee ,
May 24, 2023 May 24, 2023

Copy link to clipboard

Copied

LATEST

Hi there!

 

You're better off posting UXP questions in this UXP forum (a seperate login is required): https://forums.creativeclouddeveloper.com/c/photoshop/63

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