something like this in your init/menu.py:

nuke.addOnScriptLoad(pythonScriptFunction)

-deke

On Tue, Jul 19, 2011 at 13:01, Dan Rosen <danrosenro...@yahoo.com> wrote:

> I'd like to set the Project Settings > Python field for onScriptLoad
> at load time via menu.py or init.py. I understand that I can stick
> this into a template.nk script and that it will be there every time I
> load Nuke, but I want to put something in that field for existing
> scripts that don't have it. Any ideas?
>
> Thanks,
> Dan
> _______________________________________________
> 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
>
_______________________________________________
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

Reply via email to