How to Navigate from a sub folder to Next or Previous sub folder?

The attached script will do what you want. It expects a positive or negative integer argument, e.g. KHGo 1, KHGo 2, KHGo -1, KHGo -2, etc.. If you don't supply an argument it defaults to 1. Positive arguments take you FORWARD through a structure, negative arguments take you BACKWARD. I will also attach a zip file of the "animals" structure I used during testing.

KHGo.js.txt (6.0 KB)
animals.zip (2.1 KB)

Edit: 2019-12-02 Updated to v1.1. Fix to handle single folder in structure depth > 3.

4 Likes