API Reference
nuke.
scriptSaveToTemp
Saves the script to a file without modifying the root information or the original script