Re: [Nuke-users] HTML Link in Menu

2017-02-01 Thread Igor Majdandzic
Ok, keep the brackets, but dont execute the method in the script. That should do the trick. Definitive answer! Am 01.02.2017 um 19:24 schrieb Igor Majdandzic: And don't execute the method in the script itself. Then maybe you need the brackets. Tired and in the car... Am 07.11.2016 10:11

Re: [Nuke-users] HTML Link in Menu

2017-02-01 Thread Igor Majdandzic
And don't execute the method in the script itself. Then maybe you need the brackets. Tired and in the car...Am 07.11.2016 10:11 vorm. schrieb Darren Coombes :How would i Add a menu, and in that, have a link to a website listed, so when you select the webpage in the menu, it

Re: [Nuke-users] HTML Link in Menu

2017-02-01 Thread Igor Majdandzic
Just leave out the brackets"www_vfxcamdb.www_vfxcamdb” so it does not get executed.Am 07.11.2016 10:11 vorm. schrieb Darren Coombes :How would i Add a menu, and in that, have a link to a website listed, so when you select the webpage in the menu, it opens.Ive kind of got it

Re: [Nuke-users] HTML Link in Menu

2016-11-07 Thread Erik Johansson
Just a quick suggestion. I don’t really see the need for so many functions. import webbrowser urls = [] urls.append(("Weblinks/VFX Camera Database", "http://vfxcamdb.com/;)) urls.append(("Weblinks/DP Review", "http://dpreview.com/;)) urls.append(("Weblinks/Nukepedia", "http://nukepedia.com/;))

Re: [Nuke-users] HTML Link in Menu

2016-11-07 Thread Darren Coombes
Thanks Howard, I got it to work. Changed a few things.. Menu Py… import www_links nuke.menu("Nuke").addCommand("Weblinks/VFX Camera Database", "www_links.openVfxcamdb()") nuke.menu("Nuke").addCommand("Weblinks/DP Review", "www_links.openDpreview()")

Re: [Nuke-users] HTML Link in Menu

2016-11-07 Thread Howard Jones
I think I'm right in saying lose the last line in > www_vfxcamdb Howard > On 7 Nov 2016, at 9:11 am, Darren Coombes wrote: > > How would i Add a menu, and in that, have a link to a website listed, so when > you select the webpage in the menu, it opens. > > Ive kind

[Nuke-users] HTML Link in Menu

2016-11-07 Thread Darren Coombes
How would i Add a menu, and in that, have a link to a website listed, so when you select the webpage in the menu, it opens. Ive kind of got it working.. in my Menu.py…. import www_vfxcamdb nuke.menu("Nuke").addCommand("Utilities/VFX Camera Database", "www_vfxcamdb.www_vfxcamdb()”) My Python