Hello.
I have a small script which prints the path to the script:
var scriptFile = new File($.fileName);
var scriptPath = scriptFile.parent.fsName;
alert(scriptPath);
This returns the following path: C:\jonathan.sundberg\AppData\Roaming\Adobe\CEP\extensions\jsx\ai
The actual location of my jsx script is : C:\project\TechArt\adobe\extensions\jsx\ai
Why am i getting a temp path to AppData? And how do i get the real path to my scripts .jsx file?