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

Scripting: copying file path with (German) umlauts

Engaged ,
Mar 02, 2021 Mar 02, 2021

Copy link to clipboard

Copied

Hi,

using PS CC, Windows10, latest versions.

 

With following command I get the path of the opend image:

var theString = app.activeDocument.path + "/" + app.activeDocument.name;

 

But because of a umlaut ("ü") in the OneDrive folder in which the image is saved, I get this path

d:\OneDrive ... f%C3%BCr ...\folder\image.tif

 

Is there an option to the the right "coding" of the umlauts, in this case of the "ü"?

 

Thanks!

mycc

TOPICS
Windows

Views

169

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

correct answers 1 Correct answer

LEGEND , Mar 02, 2021 Mar 02, 2021

The decodeURI() function would do this...

 

Mylenium

Votes

Translate

Translate
Adobe
LEGEND ,
Mar 02, 2021 Mar 02, 2021

Copy link to clipboard

Copied

LATEST

The decodeURI() function would do this...

 

Mylenium

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