this lets you reveal your selected read node in window explorer.
reveal in explorer script
Updated: 27 July 2010
Author: sameer
Compatible Nuke versions: 4.8 or later
Compatibility: Windows
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
def Revealexplr(): import os a=nuke.selectedNode() b=a['file'].value() u=os.path.split(b)[0] u = os.path.normpath(u) print u cmd = 'explorer "%s"' % (u) print cmd os.system(cmd) mymenu=nuke.toolbar('Nodes',) mymenu.addCommand('RevealInExplorer','Revealexplr()',icon='explrr.png') |