Paths and prefixes
Absolute paths can be used with any path, but it's not recommended since those may eventually break. If you have a self-contained project folder with relative paths, you can move the folder or send that to anyone without having to redo the paths, much like any example I've set up for this script.
The settings script prefix (
$
) can be used with:output.path
,mockupPath
, andinput
The mockup file prefix (
.
) can be used with:output.path
, andinput
Both of these prefixes support traversing upwards in the folder structure.
~/Desktop/example/settings-script.jsx
Last updated
Was this helpful?