get extension path withing jsx file
Hi,
Within .js file i can fine the extension root using:
var csInterface = new CSInterface();
var extensionRoot = csInterface.getSystemPath(SystemPath.EXTENSION)
how do i get the extension path from within .jsx file?
I want to use:
var scriptDir =<path to extensionRoot>/host/libs
var scriptFile = "/myScript.jsx";
var runScript = File(scriptDir + scriptFile);
$.evalFile (runScript);
my jsx file is under extentionRoot/host
myScript is under extentionRoot/host/libs
Until recently my scriptDir was external but i want to move everything under the extension folder.
