Re: [Nuke-python] Save script using python or tcl.

2013-05-08 Thread Elias Ericsson Rydberg
Hi, Have a look at this! http://docs.thefoundry.co.uk/nuke/63/pythondevguide/command_line.html Cheers, Elias 8 maj 2013 kl. 15:54 skrev "lud...@stillerstudios.se" : > Hello! > > I have one, possibly, simple question for you. I am new to the world of > python/tcl-scripting so go easy on me.

Re: [Nuke-python] Save script using python or tcl.

2013-05-08 Thread Ean Carr
If you have a filename knob named 'fname', you could create a python script button and set its script to: nuke.scriptSaveAs(filename=nuke.thisNode()['fname'].value()) Is that what you want? Incidentally, I would argue this sort of feature would go not in a gizmo floating around the DAG, but as a

[Nuke-python] Save script using python or tcl.

2013-05-08 Thread lud...@stillerstudios.se
Hello! I have one, possibly, simple question for you. I am new to the world of python/tcl-scripting so go easy on me. I want to create a gizmo containing two knobs: one filename-knob and one button. In the filename-knob I want to be able to fill in a path to which I want to save my script, th