var outputFolder = “C Users/root/Desktop/ramdomTextures3”;
This refers to the directory where the textures were generated.
Once the file path right.
Open the photoshop
>> File >> Scripts >> Browse
And select the “. Jsx” and ready. Photoshop will start loading the textures generated in the specified folder
Here are some of the results