■ backup original JSON first !

Any data loss at your own risk

■ organize directory

First of all, collect all Ae scripts, presets and other assets into a single folder and organize them into several subfolders

KBartender accepted directory be like:

📂 **sample_directory**
├─ 📂 toolbar1
│   ├── exp1.js
│   ├── exp1.svg
│   ├── project.ai
│   ├── [email protected]
│   └── …
├─ 📂 toolbar2
│   ├── 📂 EffectMatchName
│   ├── data.mgJSON
│   ├── project.aep
│   ├── ffx1.ffx
│   └── …
├─ 📂 toolbar3
│   ├── script2.jsxbin
│   ├── script2.svg
│   ├── project.psd
│   ├── preset.ffx
│   ├── project.c4d
│   └── …
├─ 📂 …
├─ ~~ignored1.jsx~~
├─ ~~ignored2.ffx~~
└─ …

<aside> 💡 any subfolder (toolbar1) will be treated as KBar toolbar

</aside>

<aside> 💡 save expression as .js file or use the [X button] from script

</aside>

<aside> 💡 any subfolder in subfolder (EffectMatchName) will be treated as effects button, need named with a valid **matchName**

</aside>

<aside> 💡 any files without folder (ignored1/2.jsx) will be ignored

</aside>

<aside> 💡 filename include "@" will treat following string as argument: copy → [email protected]

</aside>

■ select directory

Next, specify the directory in script panel by click on "1. select directory" button KBartender will show you the directory information such as folder path and item amount

■ generate JSON

<aside> 💡 the more items you have, the more time it will take to process

</aside>

Then, specify the path to store the KBar JSON by click on "2. generate JSON" button The path will be revealed automatically

■ restore in KBar