TC.scriptDir
Returns the user script folder. You can store external files in the script folder. When you want to include them in your script, append the file name of the external file to the value returned by TC.scriptDir.
TC.scriptDir();
Arguments
None
Return value
A promise that is fulfilled with a string upon success. The returned path includes the last folder separator.
Example
(async ()=>{
let dir = await TC.scriptDir();
})();