ApplesauceOS
Read Markdown ↗Download .md

scriptsDir

Locate the installed Scripts directory.

js
scriptsDir()

Arguments

No arguments.

Returns

Resolved absolute Scripts path.

Example

js
console.log(scriptsDir());

Notes

Use __dirname for files next to the current module. Do not hard-code jailbreak prefixes.

All JavaScript APIs · Automation playbook