I'm not aware of any way to do this.. Might be worth making a feature-request to [email protected]

If you could access the contents of the script editor via Python, you could do the rest via callbacks..

When I get a nuke-friendly PyQT build working here, one of the first things I plan to try is using QScintilla to make a more usable script-editor (with line numbers!),

http://eli.thegreenplace.net/2011/04/01/sample-using-qscintilla-with-pyqt/

On a related note, it's even worse that the script editor is cleared when you change layout (e.g "Layout > Restore layout 2")

Dorian Fevrier wrote:
Hi all,

Is there a way to store what the user wrote in the script editor?

I would like to store it when Nuke exit and add it to the script editor again once Nuke is reopen.

It's very painfull that what was write in the script editor was not saved when you close Nuke (like Maya).

Maybe there is a way to do that?

Thanks in advance!

Dorian
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

--
ben dickson
2D TD | [email protected]
rising sun pictures | www.rsp.com.au
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to