Hey there - I am wondering if there is a way to push information into an existing nuke session after it's up? Basically, from and onScriptLoad callback, I might need to update a script's text and then use a subprocess.Popen to re-launch the updated nuke script. I don't want it to replace the source until the user does a save as, so it's temporarily saved and launched from /var/tmp/someTempFilename.nk . What I would like to do is push one more command to the script after it's launched, which would be nuke.root()['name'].setValue('/path/to/originalScript.nk') so when the user does do a "control-s", the file saves to the correct location instead of the tmp. If I could copy the tmp and relaunch the updated script from the original path, there wouldn't be a problem (actually, that's the way I've been doing it for awhile), but occasionally the script permissions are locked, so I'm trying to find an alternative. Just by way of information, nuke.scriptReadText ends up seg faulting, so I'm left with the external launch.
Any ideas? thanks! JRAB_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python