Copy link to clipboard
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 "ü"?
The decodeURI() function would do this...