This allows users to automatically save the script instead of manually doing it.
Autosave_Scripts_for_comp
Updated: 6 May 2025
Author: vyomsince1999
Compatible Nuke versions: 11.0 or later
Compatibility: Linux, Mac, Windows
Just make sure you have vspace menu in your nuke toolbar and if you don't have one just copy and paste it in your menu.py =
##########################################
toolbar = nuke.toolbar('Nodes')
vspacemenu = toolbar.addMenu('vspace', icon='Vspace.png')
##########################################
After loading your exr file in nuke just copy its path - select Comp Menu>Select Folder of shot now paste your copied path and hit enter and it will create a workfile folder and save your script in it automatically naming v001. You can also change the path in the script as per your folder structure.
Apache License 2.0