Something like this should do:

explore=nuke.PyScript_Knob("explore","explore","os.startfile(os.path.dirname(nuke.thisNode()['file'].value()),'explore')")
n.addKnob(explore) 

with n being a write or read node...
You could then tie this up to a read or write node creation with a onCreate 
callback.

cheers
Patrick

----- Original Message -----
From: ron...@gmail.com
To: nuke-python@support.thefoundry.co.uk
Date: 30.01.2013 16:40:39
Subject: Re: [Nuke-python] Use Nuke to create windows folder shortcuts


> Should be fairly straight forward.
> How can I help?
> 
> 
> Ron Ganbar
> email: ron...@gmail.com
> tel: +44 (0)7968 007 309 [UK]
>     +972 (0)54 255 9765 [Israel]
> url: http://ronganbar.wordpress.com/
> 
> 
> On 30 January 2013 17:34, Vincent Langer 
> <vincent.lan...@filmakademie.de>wrote:
> 
>> hi there,
>> 
>> after rendering I want to add a windows folder shortcut in a special place!
>> 
>> is this possible direktly out of nuke?
>> 
>> cheers,
>> vincent
>> 
>> ------------------------------**------------------------------**----
>> This message was sent using IMP, the Internet Messaging Program.
>> 
>> ______________________________**_________________
>> Nuke-python mailing list
>> Nuke-python@support.**thefoundry.co.uk<Nuke-python@support.thefoundry.co.uk>,
>> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
>> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-python<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

_______________________________________________
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