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 <darren.coom...@me.com>:
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_vfxcamdbnuke.menu("Nuke").addCommand("Utilities/VFX Camera Database", "www_vfxcamdb.www_vfxcamdb()”)My Python Script (Called www_vfxcamdb)But what is happening is it’s opening the webpage whenever nuke starts up.Only want the webpage to open when you select it in menu.Any help?
Check out some of my work...Mob: +61 418 631 079IMDB: www.imdb.com/name/nm3719099/Instagram: @7secondstoblackInstagram: @durwood0781Skype: darren.coombes81Twitter: @durwood81
_______________________________________________ Nuke-users mailing list Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users