6/12/2011

Nuke Play sound when render finished

How to play sound when render is complete in Nuke. This works Windows and higher ver6.0.

Add these two lines to menu.py.

nuke.knobDefault( 'Write.beforeRender', 'import winsound')
nuke.knobDefault( 'Write.afterRender', 'winsound.PlaySound( "music file path", winsound.SND_FILENAME)')

That's all.