Copy link to clipboard
Copied
How do I determine the path and name of the script, which now holds?
Copy link to clipboard
Copied
Try this:
unescape($.fileName)
Dan
Copy link to clipboard
Copied
Thanks, but as a path to convert in Windows-path?
Copy link to clipboard
Copied
Assuming you're on a Windows machine,
var myFile = File($.fileName);
alert(myFile.fsName);
Dan
Copy link to clipboard
Copied
Thank you
Find more inspiration, events, and resources on the new Adobe Community
Explore Now