W_hotbox v1.5

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Wouter Gilsing
UPDATED v1.5. Hotbox for Nuke, similar to Autodesk Maya's. Selection specific menu that appears underneath your cursor for as long as you press the shortcut. Fully customizable, with interface to easily add and modify buttons on the fly. See the video in the description for a demonstration.
10.0, 9.0 or later
Linux, Mac, Windows
14 Dec 2016

watch the video Tool Video


A hotbox for Nuke similar to the one found in Autodesk Maya.


Watch the tutorial:



W_hotbox is basically a fully customisable ‘favourites menu’ that pops up for as long as you press the shortcut and disappears as soon as you release. The buttons that make up the menu represent python scripts and change depending on you selection. The 'Hotbox Manager' offers you an user friendly interface which allows you to add new buttons on the fly. Those buttons are directly accessible via buttons that appear in the menu under your cursor.

You have the option to create buttons that either show up when specific node (combinations) are selected, as well as buttons that will show up no matter what is currently selected.


The hotbox while having a Merge node selected:


For me it changed the way I interact with Nuke completely and it sped up my workflow quite a bit. The ability to move any action to a button that appears near your cursor saves you a trip to the other side of your screen and back pretty often.

Besides that I use it a lot to automate repetitive tasks and actions I would otherwise probably not have taken time for at all. (Think of things that make your script more readable, but don't necessarily contribute to the final image, like (color)labeling nodes.).

However, you can add whatever buttons you like, so it's totally up to you how you put the hotbox to use.


 The Manager, an interface to add and modify buttons on the fly:

manager new

The download includes a user guide that features an in-depth description of everything there is to know about the hotbox. It also includes an installation guide and some basic python examples. Besides that, the download also comes with a bundle of buttons you can choose to install, so you don't have to start from scratch.


Make sure to follow the steps in InstallationGuide.txt to install the tool properly. To upgrade from an older version, simply replace the old ‘W_hotbox.py’ and ‘W_hotboxManager.py’ with their updated versions.


If you decide to install the tool in a studio environment I would love to hear which studio! (Just because I think that's a fun thing to know :) )


See the change log on page 21 of the user guide for a complete overview of all the added features as well as an overview of the fixed bugs.


Highlighted features that were added:

NEW IN V1.1:

  • Added the option to have multiple repositories to store buttons in. To make the tool suitable to be installed in a studio environment. Buttons loaded from an additional repository will appear outlined grey, rather than black. See the chapter called ‘Working in a studio environment’ of the user guide for more information.
  • Option to hide the ‘iconsLocation’ knob from the preference panel so artists won’t be able to change it, when installed facility-wide.
  • When importing an archive of buttons, the buttons will now append the current set, rather than replacing it.

NEW IN V1.2:

  • Improved the way of defining additional repositories (feature added in v1.1). Rather than changing the actual python files the repositories can now be defined by setting environment variables, called ‘W_HOTBOX_REPO_PATHS’ and  ‘W_HOTBOX_REPO_NAMES’ (See page 13 of the user guide for more information)
  • Same applies for hiding the ‘hotboxIconLocation’ knob from the preferences panel (‘W_HOTBOX_HIDE_ICON_LOC’).

NEW IN V1.3:

  • Knob added to the preferences panel to control the hotbox’s font size.
  • License added
  • Knob formerly called ‘iconLocation’ renamed to ‘hotboxIconLocation’.
  • Improved the way archives will get created when none is present.

NEW IN V1.4:


  • Improved script editor. The script editor of the Manager now includes line numbers, syntax highlighting and auto indentation to make writing code easier. Tab’s will be automatically registered as four spaces.
  • Error catching. Whenever executing a hotbox button causes an error, the problem and it’s corresponding line now will be printed.
  • The Hotbox will now function properly in combination with nodes inside groups.

NEW IN V1.5:

  • In the script editor, the background color of the selected line now reflects the current state of the loaded script (black - unchanged, white - modified, green - just saved).
  • Added the option to launch the hotbox with a single tap, instead of having to keep the shortcut pressed. This mode is available through the ‘Launch Mode’-dropdown in the preferences.
  • Reorganised the preferences panel and assigned tooltips to all its knobs.
Copyright (c) 2016, Wouter Gilsing All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Redistribution of this software in source or binary forms shall be free of all charges or fees to the recipient of this software. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Please login in order to download these files.


+4 # Frank Rueter 2016-08-23 23:08
Awesome. I have wanted this for years and never had the time to finish my own version to a degree that is production ready.
Thanks heaps!
+1 # Wouter Gilsing 2016-08-24 00:04
Ah thanks! Glad to hear that you like it:)
+1 # Erwan Leroy 2016-08-24 01:57
This is great for Developers!

Limited Menu space has always been an issue for small pipeline/node related scripts. I had been stashing this kind of small scripts inside Edit/Nodes for years for lack of better option.

Can the hotbox menus be edited in script directly instead of using the hotbox editor? (I haven't installed your script yet, just watched the video)
0 # Wouter Gilsing 2016-08-24 02:06
Glad you like it!

You'll eventually need to put the code in the Hotbox Manager to assign it to the desired nodeclass/butto n.

However, if that works better for you, you can write your code in Nuke's script editor and paste it over when you're done, (as you can still use Nuke while having the Manager open).

Improving the Manager's script editor with basic stuff like line numbers etc, is somewhere on my to-do list for a future release.

Hope that answered your questions.
0 # Erwan Leroy 2016-08-24 02:24
I meant, the script you put in the editor is eventually being saved somewhere (a .py or other file somewhere on the system).
Can these files be directly edited easily?

This way the code can easily be maintained and pushed facility wide.

It's not a deal-breaker to have to open nuke to find the function and edit it, it's just that I'd rather open the file and edit the code there in any text editor.
0 # Erwan Leroy 2016-08-24 02:36
Oh, okay, I installed the hotbox to look into your code.
I found the .py scripts inside the .hotbox tarball, so it's editable but not particularly easy to do so.

Quick question: Why adding a menu option for the icon path instead of making them part of the pluginPath and being directly recognized?
0 # Wouter Gilsing 2016-08-24 03:29
You can of course simply call external modules from a button, if that answers your question. That way you don't actually have to put any code (except for an import statement and a function call) in the script of the button. So you can just open your big studio wide module, and edit it in your preferred editor and just link a hotbox button to a function of that module. That's the way I work with studio specific code at work.


I added that option so users without any python knowledge won't run into trouble while installing, yet are still able to choose a custom location to store the icons. Not every artist has custom folders added to his/her pluginpath. That leaves two options:

1) Forcing them to add a folder by adding a line of code to init/menu.py to ensure that path is included in the pluginpath.

2) Making them drop everything directly into ~/.nuke.

Option 1 is obviously the preferred option, but can be challenging for artists that are less technical. Option 2 will create a mess.

I think the way it's currently handled is pretty easy and foolproof: Just open the preferences and point to the folder where you decided to store the icons. Done.

I get your question, I just went with this method to make it a bit harder for less technical compers to run into trouble:)
+1 # Parimal Desai 2016-08-24 04:04
Wow! Good Work :-)
+2 # Markus Gratl 2016-08-24 12:44
Nice. Used it for 30seconds and I already love it. Thanks for sharing.
+1 # Daniel Mermelstein 2016-08-24 15:44
That's amazing. Looks like a great time saver tool. Your demo looks great too.
As a feature request, I would suggest a way to export/import buttons and classes among other Hotbox users.
+1 # Wouter Gilsing 2016-08-24 16:01
Hey Daniel, thanks for the compliments.

You actually are able to share sets of buttons between workstations/ar tists. Have a look at the section 'Importing and exporting buttons' in the documentation pdf (I didn't want the video to become to long, so I only included the most important stuff). You can even import/export from your clipboard so you don't have to save out any files to disk. As of right now you can only export all your buttons at once though, so I might look into this to make it easier to share a single button. Thanks!
0 # Erwan Leroy 2016-08-25 01:56
Hey Wouter.
Did more testing last night. One feature that could be huge would be the option to append rather than replace when importing buttons.
I can easily see people wanting to share their setups, but if we have to replace our own every time it gets cumbersome.
0 # Wouter Gilsing 2016-08-25 02:02
Hey Erwan,

Totally agree, and since multiple people brought this up today, consider it done for v1.1 :-)
0 # Wouter Gilsing 2016-08-29 02:10
Hey Erwan and Daniel,

I just made version 1.1 available which appends the current set of buttons rather than replacing it when importing an archive.
0 # kire timov 2016-11-18 04:20
Quoting Wouter Gilsing:
Hey Erwan and Daniel,

I just made version 1.1 available which appends the current set of buttons rather than replacing it when importing an archive.

I hope it's possible in the new version (haven't had the chance to try it out yet) to choose, replace or replace. e.g. i sit on other artists pc who is also using w_hotbox, bud i't like to load my buttons only, and not his/hers. - that' be nice
+1 # Wouter Gilsing 2016-11-18 04:24
If you load an archive, it will append the current button set. However, you can quickly trow out the current set of buttons by going "Edit-W_hotbox- Clear-Clear Everything" (or clear a specific section).
0 # Daniel Mermelstein 2016-08-24 16:14
Never mind me... you had that feature already of course.... Great product ! Thanks Again
+1 # Adrian Sutherland 2016-08-24 16:38
I've been waiting for someone to put one of these together at a production ready level. This is awesome. Thanks for this!
+1 # Charles Taylor 2016-08-24 18:47
Yes! This looks like a game-changer. Good stuff.
+1 # jean-luc azzis 2016-08-24 20:07
this is awesome! thanks for sharing

Just a quick word of caution, when I imported the archive, it looks like it created a Python folder in the ./nuke folder and imported the presets there. The problem is that I already had a Python folder in that location and it replaced it. so I lost all the content of that folder (I had a backup so not a big deal, but I think there should be a warning if the folder already exists) .

Also quick question about the hotbox in Nuke Studio, it's not showing up in the timeline, is that a limitation?

I also wanted to use it to switch between workspaces, would that be possible?

Cheers and Thank you for making this!!
0 # Donald Strubler 2016-08-24 20:20
We ran into this same issue, where the entire directory was removed.

rmtree should be used with caution if not alerting the user
0 # Wouter Gilsing 2016-08-24 20:38
You guys are talking about the contents of the hotbox folder inside the .nuke folder right? As of right now, importing an archive indeed replaces the currently existing archive. I'm sorry if this caused any problems.

I'm planning on implementing a 'merge' archives function in a future release. Also good idea to warn the user. Thanks for the feedback
0 # jean-luc azzis 2016-08-24 20:43
No it was this folder : ~/.nuke/Python

It wasn't inside the W_hotbox folder
0 # Wouter Gilsing 2016-08-24 20:49
Well that should definitely not have happened. Did you change the 'hotbox location' in the preferences to that Python folder?
0 # jean-luc azzis 2016-08-24 20:52
yes I did.
I changed it to that location actually. but after importing the archive, the ~/.nuke/Python content was replaced with 3 folders. All, single, multiple. Even the W_hotbox was gone.
0 # Wouter Gilsing 2016-08-24 20:59
Ah I see now... Make sure to point that knob in the preferences to the W_hotbox folder, not just the folder containing that folder. So in your case make sure that knob is set to '~/.nuke/Python /W_hotbox', rather than '~./nuke/Python/').

I'll make sure this will be more clear in future releases. Thanks
0 # jean-luc azzis 2016-08-24 21:01
got it.

I have changed it now. Thanks for the quick reply!
0 # jean-luc azzis 2016-08-24 21:03
and about the Nuke Studio timeline hotbox and workspace selection? Is it possible?
0 # Wouter Gilsing 2016-08-24 21:42
Quoting jean-luc azzis:
and about the Nuke Studio timeline hotbox and workspace selection? Is it possible?

Not sure about the Nuke Studio question, as I never use it. Good idea to look into that though.

"If you can access it through Python, you can wrap it in a hotbox button". Workspaces are a bit more tricky when it comes to accessing them, but it's possible.

Try putting this in a button:

from hiero.ui import findMenuAction


0 # jean-luc azzis 2016-08-24 21:46
great! I'll give it a go.

+1 # jean-luc azzis 2016-08-25 01:49
That works perfectly, thanks!

I love this. Best plugin in a long time!!
0 # Indrajeet Sisodiya 2016-08-24 22:21
0 # kire timov 2016-08-25 02:56
Zomg nice work mate, thank you for sharing!

I found couple of bugs in your archives

first is FilterErode script:

import nuke

for i in nuke.selectedNodes():

output should be set to "channel" instead.

the second thing is with the merge node

BBox/Union dosent cycle through B/union

I couldn't figure that out..

Again thank you for sharing, such a nice tool to have
0 # Wouter Gilsing 2016-08-25 03:05
Ah, nice catch! I'll make sure they get fixed.

If you want to get the bbox one working, you can use the following code:

for i in nuke.selectedNo des():
if i.knob('bbox'). value() == 'union':
i.knob('bbox'). setValue('B')

0 # MARK PINHEIRO 2016-08-25 05:25
Blinding. Can't wait to try this. I'm under the bonnet of Nuke and Shotgun atm customising a pipeline and I'd much rather stay in the drivers seat 8)
0 # Stefan Müller 2016-08-25 09:26

Even for really simple stuff, like creating a node that doesn't have a default shortcut it's super useful and a real timesaver.
I especially liked the +1 and -1 buttons for saturation. I changed it to 0.1 however :)

One thing I noticed: The arrangement/ord er of the buttons seem kinda random. I am able to change the order in the hotbox manager, however it doesn't seem to match with the arrangement in the actual hotbox.
Is this a bug?

0 # Wouter Gilsing 2016-08-25 12:26
Hey Stefan,

Thanks for the kind words and bringing up the buttons order.

It's not a bug, and I would like to refer the the bottom op page 11 in the pdf userguide :-) (comes with the download).

It basically comes down to this:

By default new buttons will be added left and right of the row alternately (rather than just putting them the the right of the last button).

I did this to take in account any muscle memory.

Imagine working with the hotbox for half a year or so, with only one button added to a nodeclass. That one button will appear right above the center (as there are no other buttons). However, after half a year we decide to add a bunch of new buttons. These buttons would have pushed our first button away. This might take a bit time to get used to, and you might find yourself searching for that one button because it's not in its usual spot anymore.

That's why I decided to make new buttons appear left and right of the row alternately. This way a button barely move when adding new buttons, unless you manually change the order in the Manager (I say 'barely' because the node will move 'half a button' when the amount of buttons in a row switches from odd to even).

Anyway, if you don't like this behavior you can disable it by turning off ‘Add new buttons to the sides’ in the preferences! That way buttons will simple appear to the right of the last button.

Hope that made it more clear,

0 # Stefan Müller 2016-08-25 15:33
Hey Wouter,

aaah, I should've read your pdf entirely :D

Thank you for your explanation. Pretty clever, the thing with the muscle memory. It's great to have a button to change this behavior, but now it does indeed make more sense the way you intended it to be!

0 # Tor Andreassen 2016-08-25 10:58
This is brilliant, great work. Tested it for a few min and love it, will absolutely use this when I have doodled around with it enough to get my most used scripts up running with it. My favorite though is the simple stuff like the pre-shipped buttons you have for shuffle for example, so brilliant. Thanks for sharing this!!

The only thing I found was that it gets cropped off if you try and open it too far down in the node graph.. so you have have to move the mouse pointer a bit further up in the node graph and launch it again to see the whole menu. I'm running it on OSX. Maybe you already know of this? Would be awesome to see an update if the future where it always launches on the center of the screen, or at least don't get cropped off.

Again, absolutely killer work Wouter, thanks for sharing this tool!!
0 # Matthieu Cadet 2016-08-25 13:45
Awesome ! something I wanted to code also some years ago, finally you did it :) thanks !
0 # Wouter Gilsing 2016-08-25 14:42
Hey Tor

Thanks for the feedback, good idea. I'll add that to my to-do list as well! :)
0 # Tor Andreassen 2016-08-25 14:53
Awesome, thanks Wouter :)
0 # Matthieu Cadet 2016-08-25 14:50
Also one advise, as your tool is becoming viral :)
put it on Github for easy issue/question/ feature tracking ;)
I would also love participate to its improvements if it's on github.
0 # Indrajeet Sisodiya 2016-08-25 15:18
Hey Wouter.

Idk if its a bug or something, but I created a delete node and it appeared at the bottom of the list "ALL" as I wanted to have the functionality to delete selected nodes. Tried to move the entry above existing entries and it seems to glitch out. I accidentally dropped it inside Coding sub menu and now when I dragged it out, it just stays there, inside the sub menu.
It would be great as a feature request if you incorporate two button under the new, delete,copy,pas te buttons, basically two arrow keys, one up and one down so pressing it would push the entry upwards or downwards and hence the button in the hotbox changes its position accordingly.

Thank you wouter for this awesome tool!
0 # Ben Warburton 2016-08-25 16:28
Great work!

One thing I noticed from a script i was launching was to do with the shortcut key. I'm planning on leaving it on the ` key but I have a problem. If a text field opens it fills the text boxes with `````````

Would it be possible to eliminate the shortcut key press after you click a hotbox button? even if you are still holding it
0 # Thomas Vu 2016-08-26 08:13
great work sir!

the shortcut key not working on nuke 10 sir (tried to change to other key also)
0 # Wouter Gilsing 2016-08-26 17:47
Would you mind sharing your operating system? Did you made sure to restart Nuke after changing the shotcut?
0 # Thomas Vu 2016-08-27 16:07
im running on win7, but its ok, i will find out some way to fix it, i install it on other computer its work what ever nuke version, reason is i had alot of script runing thats why your script not working. Anyway, thank you so much, again GREATTTT WORRKKKKK
0 # Mohan Pugaz 2016-08-26 09:05
Amazing work totally changed the way of working! .. awsome :roll:
0 # Michael Habenicht 2016-08-26 14:55
Thank you very much for this great tool and your included buttons!!!

Unfortunately on Centos 6.5 with Gnome and nuke 9.0v7 the transparency is also not working.

Also the box doesn't close any more. If I release the hotkey or click on a menu the hotbox stays. Only clicking outside of it closes it.

For the future it would be very nice to be able to define various hotbox locations through an env variable which get merged together. So there could be a write protected global studio location and a local location where an artist can store overwrites and additional buttons. Each location could also have an icon that is shown at one corner of the button so that you see wether the button comes from.
With this gizmo or plugin creators could also already include a button setup whichs location only needs to be added to the env variable to include it.

I also recommend putting it on github for easy contribution.

Best regards!
0 # Wouter Gilsing 2016-08-26 17:47
Hi Michael,

Thanks for the reply! I'm planning on including the option to use multiple locations to draw buttons from in the next release. I've been working on that last night and it seems to work now.

Sorry to hear about the problems you experience with GNOME. I'll see what I can do about that.

0 # Wouter Gilsing 2016-08-29 02:15
Hi Michael!

I just uploaded a version 1.1 which makes it possible to add multiple repositories to load buttons from, to make the tool more suitable for a facility-wide implementation.

Unfortunately I've not been able to look into the Gnome related issues you mentioned yet.

0 # Wouter Gilsing 2016-08-30 05:35
Version 1.2 changes to way of adding additional repositories. Rather than editing the actual Python files, you now can add them using environment variables.
0 # Michael Habenicht 2016-08-30 09:30
Hi Wouter,
thank you for your fast new versions. Additional repositories works great. I had the env variable already added myself.

The transparency seems to be a known problem simply if the window manager doesn't support it.
The other issue seems to be a problem of combinations of hot key and keyboard layout. So the default key didn't work with the german layout but the space bar and other keys work fine.

I implemented another feature which is that you do not have to click the button to execute it. Simply select it and release the hotkey and it gets executed. I find it more convenient especially when using a tablet. If you are interested in the changes, let me know!

0 # kire timov 2016-09-20 00:13
Quoting Michael Habenicht:
Simply select it and release the hotkey and it gets executed. I find it more convenient especially when using a tablet. If you are interested in the changes, let me know!


I am interested, how can i change the behavior to work like that?
0 # Claus Steinmassl 2016-08-26 15:25
Super awesome and helpful tool! Thanks very much for sharing! :)

I've got two feature requests:

1: I have a problem with all scripts, that pop up a user input since that input is flooded with the shortcut I'm pressing to open the hotbox. Maybe it's possible to catch that 'key down' event, until the shortcut is released? But maybe this could lead to other problems, when the shortcut is used for something else. e.g. right now I use the space bar as hotkey, which works great for opening the hotbox and toggling the window fullscreen! Maybe you've got a solution for this?

2: Could you add that kind of separated-by-da shes-list-thing to the single mode as well? e.g. I want certain functions to be available for roto & rotopaint nodes. Right now I've got to copy them, since the Multiple-mode would require both to be selected, but I just want to share the same functions across different classes. So maybe instead of defining 'Roto' and 'RotoPaint' with the same functions I wish do something like 'Roto-RotoPaint ' in Single-mode. I hope this makes sense. :)
0 # Wouter Gilsing 2016-08-27 05:49
Heey Claus,

Thanks for the reply. I totally agree with you about point 1. I'm using the hotbox myself a lot, and this is one of the annoying things that could use a bit of polishing. I'm currently working on a v1.1 release (should be online around the end of the weekend/monday) . I'll see what I can do, but can't guarantee this will make it into it.

2) I actually 've though about this a long time, and at one point this was the way it worked. However I found it starting to get a little messy, because you got so many different classes.

For example we have node A,B and C. There's a button I'd like to have shown when any of those are selected, so I add a class called ABC. However I want to add buttons that show up for them individually as well, so I add class A, class B and class C separately. Then I get this idea for a button that is really cool for A and C but doesn't really make sense for B, so I add another class called AC. Now after working with the buttons for a while I get an idea of how to improve one of the existing buttons assigned to class A. Rather than simply going to class A and changing the button, I now have to go look for it as it might be stored in A, AC, ABC, AG or AZ etc. You see what I'm getting at? I felt it started to get messy, and it kinda lost it's nice overview. Besides that the code got more complex and I was afraid the hotbox might lose speed. Therefore I decided to go with an 'one class only' approach for the single mode.

I hope you do understand, thanks for sharing ideas though, much appreciated!
0 # Claus Steinmassl 2016-08-28 10:18
1) Looking forward to a solution for this, but no hurry! ;)

2) Yeah, I get it. Your decision makes totally sense, to avoid a big mess.
0 # Tor Andreassen 2016-08-27 11:13
Hi Wouter,

Had another spin with this to test it on linux and ran into a few issues.

Running this on OSX worked perfectly fine and did not give these problems.

CENTOS 6.2, gnome 2.28.2, Nuke8.0v6 gave these issues:

1) it seems to overwrite the nuke preferences, or delete them. You can add them back but every new session when the W_hotbox is installed, nuke does not seem to want to pick up the saved preferences (like node colors, pipe thickness, dot size and so on).
I tried to save out the preference file and copy it back into the .nuke location after installing your tool, but that did not work.

2) on removing the tool, it leave the icons path still in its own tab in the preferences (the tab is renamed to the default name 'User') No error messages show up, but its still there even if the 'delete preferences' button is clicked and all hotboxfiles is removed from the .nuke location. It seems like the uninstall process removes everything besides the icon path, and therefore creates a default tab called ('User') where the icon path remains since it was not fully removed. (my guess)

3) Transparency issues. When checking the button called 'disable transparency' it turns on the transparency, the opposite of what I would expect. On OSX is does the inverted right action.
Also another issue on linux is that it does not seem to remember the transparency checkbox value, so for every new session of nuke, I have to go and check the box again.

Would be great to hear if you have had similar issues and possibly have a fix for it. Would love to be able to use this at work, and absolutely will if you have a fix for the preference problems.

Thanks again for sharing your work on nukepedia :)
0 # Wouter Gilsing 2016-08-27 16:17
Hmmm, that doens't sound very good at all... I'm not sure how well the tool works on Nuke 8 btw, (I'm actually kinda surprised it didnt trow an error at startup in the first place).

Thanks for the detailed description, I'll definitely have a look at it! I'm planning on releasing a v1.1 later this weekend/earlier next week, but I can't promise anything regarding the Gnome related bugs (so far I've only been able to test the tool in KDE environments).
0 # Tor Andreassen 2016-08-28 03:18
Alright, good to know. Was it developed to work on 10 also? We currently don't use 10 yet, but good to know for when we do switch over. I'll see if I'm maybe able to change environments to KDE.

That could explain why the script was not acting up on OSX, as I'm running Nuke9 there.

Thanks for the quick reply.
0 # Wouter Gilsing 2016-08-28 03:23
Yep, tested and working on both 9 and 10:) I'll include that in the User Guide as well, as that is currently missing. Cheers

You are right about the 'iconLocation' knob remaining after clicking 'delete' preferences though. That will be fixed in v1.1.
0 # Tor Andreassen 2016-08-28 03:26
Great, thanks :)
0 # Wouter Gilsing 2016-08-29 02:54
Just uploaded v1.1. Should be fixed now!
0 # Tor Andreassen 2016-08-29 12:16
Awesome, thanks Wouter!
0 # Tor Andreassen 2016-08-29 13:56
Quoting Wouter Gilsing:
Should be fixed now!

Tried installing and removing the tool again, to test it. (on OSX nuke9).

Seems that it removes the icon path. but the Other tab stll has an empty User tab there.

Any way you could fix it so it removes the tab as well, so that it restores it to the vanilla nuke state before the tool was installed?

0 # Wouter Gilsing 2016-08-29 14:25
Ah the thing is that User tab was never really an (intended) part of the hotbox. It gets created by default by Nuke when you try too add something to the preferences without creating a new tab first.

There's quite a possibility that people are actually using a tab called User in their preferences to store custom knobs, so forcing it to delete is risky as it might cause problems for some.

Since the source of the problem is fixed (no new User tab will be created when deleting the preferences) I think it's easiest/safest to manually clean up the (harmless) mess that was caused by it.

With Nuke closed, open your preference file in a text editor (~/.nuke/prefer ences10.0.nk or 9 ofc) and look for this line:

addUserKnob {20 User}

Remove it, save, start Nuke.

Sorry for the inconvenience and as always thanks for reporting back to me:)
0 # Tor Andreassen 2016-08-29 14:50
Yes you are right, better leave it be then. I was not aware that it was stored in the preference file - that's an easy enough fix. Thanks for that!

Also, very minor thing; for your tools-bundle. Had a look at the shuffle python scripts. You might want to add this on the following: alpha, solid alpha, red, green, and blue:


If you push the Depth shuffle option, the 'in' value gets changed to 'depth', and pressing your current red shuffle or any of the other's mentioned above, after having pressed depth, leaves the 'in' value to depth, so you might want to change it back to rgba so the shuffle works as intended if you jump between depth and other shuffle types.

As said, very minor, but though I'd mention it.

Cheers for your quick updates. Exited to start using this in production when we swap over to nuke10.
0 # Wouter Gilsing 2016-08-30 05:33
Hey, I improved some stuff concerning adding extra repositories (which work with environment variables now, yay). I just uploaded this as v1.2.

While on it, I decided to change the shuffle scripts you mentioned as well, good catch!
0 # Tor Andreassen 2016-08-30 12:16
Awesome, more studio friendly!
0 # Adrian Pueyo 2016-08-27 20:49
This is great!!!!!
0 # Claus Steinmassl 2016-08-29 12:26
I think, I got just another feature request... :)

Could you add a global setting for font size, family etc. to the nuke prefs? I know I can adjust individual buttons, but it would be nice to have a global setting for all buttons, so I can adjust it independent of my current global nuke settings.
0 # Wouter Gilsing 2016-09-02 20:28
Hey Claus,

I used to have this built in for quite some time before I released the tool. However, every now and then, the font knob would randomly glitch out, throw an error and reset. So I decided just to remove it completely.

However, now I've seen the hotbox in action on a variety of operating systems, resolutions etc, I definitely see the need for a font controller.

I played around with it a little bit and added a knob that allows you to change the font size. The font family will be matched to the rest of the Nuke interface.

It will be available when I release version 1.3! Thanks for the input.
0 # Claus Steinmassl 2016-09-05 12:03
Great! Thank you very much for your effort!
0 # Wouter Gilsing 2016-09-06 15:41
No worries! I just uploaded v1.3, which has the font size controller.
0 # li zhaohui 2016-08-30 15:59
How to add the existing script button? For example: roto_to_track ()
0 # Wouter Gilsing 2016-08-30 16:03
Well you could do this two ways.

1) Copy the whole script into a new button. Make sure to put the function call at the end.

2) put an import statement at the top of your button to import that module, and call the function at the end. For example:

import roto_to_track
roto_to_track.roto_to_track ()
0 # li zhaohui 2016-08-30 17:39
Thank you
So a new repository Adding, windows how to operate it? Whether there are specific instructions?
0 # li zhaohui 2016-08-30 17:54
First methods are feasible.
The second method is not successful! Do not know why? I don't want to put the whole script in!
0 # Wouter Gilsing 2016-08-30 18:18
Try running the code from the script editor and look at the error it returns. Also make sure the script is part of the your nuke plugin path.
0 # li zhaohui 2016-08-30 18:22
All right!
But I don't know how (a new repository Adding)
0 # Wouter Gilsing 2016-08-30 18:25
Have a look at page 13 of the user guide.
0 # li zhaohui 2016-08-30 18:38
Specific how to do it? In the windows system? I added the environment variable as follows:
C:\tmp\n2; NUKE_HOTBOX_REPO_NAME=C:\tmp\n1
C:\tmp\p2; NUKE_HOTBOX_REPO_PATHS=C:\tmp\p1
I created these folders, but still don't display the menu?
0 # Wouter Gilsing 2016-08-30 19:25
Add them like this:


Instead of name1 and name2 use description of your repositories you want to add. Like SHOW or FACILITY.
0 # Vadim Samusenko 2016-09-05 12:20
Hey, great tool, seems to work perfectly for everyone.

But in my case, neither any of the buttons in the hotbox manager related to adding a class or a button, not the import feature doesn't work. The buttons are just not leading to any action after being pushed, import feature opens up the file browser, I navigate to the .hotbox bundle, click import and nothing happens, browser closes and finale.

any ideas ?

OS X El Capitan, NukeX 10.1
0 # li zhaohui 2016-09-05 15:23
This version does not automatically create a Library folder. So import library is not successful. To manually set up before you can.
0 # Vadim Samusenko 2016-09-05 16:36
Can you please explain what should I do step by step ? I don't really get what additional stuff and where should I create
0 # Wouter Gilsing 2016-09-06 15:08
Hey, I just uploaded v1.3. Let me now if that fixes the problem for you!
0 # Vadim Samusenko 2016-09-09 10:05
Quoting Wouter Gilsing:
Hey, I just uploaded v1.3. Let me now if that fixes the problem for you!

Yeah, everything works great! Thank you
0 # li zhaohui 2016-09-06 18:11
After the establishment of the repository in Explorwr reveal does not play a role
0 # Wouter Gilsing 2016-09-07 00:49
Meh, on some very rare occasions it can come in handy though. I originally used it a lot while I was building the tool. Since I did not really have something better to put in its place I just left it there.
0 # li zhaohui 2016-09-06 18:14
In addition, I think for the average user can hide in reveal Explorwr and Manager hotbox button
0 # Jung Keun Kim 2016-09-07 07:02
need help here~ i want to add a button (Cache -> Localization -> Force Update -> Selected) in read node.
i don't know what python code i add to hotbox manager..
could you help me?

by the way you are super awesome!!
0 # Wouter Gilsing 2016-09-07 14:01
Heey! Have a go with this code:


I agree that whole new localization section is not really the best documented part of Nuke 10 when it comes to python...
0 # li zhaohui 2016-09-07 15:29
0 # Wouter Gilsing 2016-09-07 17:30
These are the environment variables you can use to define additional repositories...
0 # li zhaohui 2016-09-07 18:07
0 # Wouter Gilsing 2016-09-07 18:09
Not too sure what you are trying to say here...
0 # li zhaohui 2016-09-07 18:28
W_HOTBOX_REPO_N AME = name 1, name 2
W_HOTBOX_REPO_PATHS = TMP C:\ \ name 1; TMP C:\ directory \ NAME2
0 # Wouter Gilsing 2016-09-07 18:32
Ah you are right. I see I put both in the userguide. Ill correct that for the next release, thanks.
0 # Siva S 2016-09-07 13:00
Thanks Wouter Gilsin! I think this tool will hit the maximum downloads soon... Great job!
0 # Simon Jokuschies 2016-09-09 06:08
W_Hotbox seems to overwrite the preferences.nk file in the nuke home dir. Whenever I change something in my settings and restart nuke the changes won't be applied. As soon as I uninstall W_Hotbox everything works fine. My main operating system is MacOSX using Nuke8,9 and 10. Has anyone noticed this behaviour on Windows and Linux as well?
0 # Wouter Gilsing 2016-09-09 06:15
Interesting. I know the tool isn't working with Nuke 8.

However, I haven't heard of any problems considering the preferences on Nuke 9 or 10 in combination with OSX. What version of OSX are you running?
0 # Simon Jokuschies 2016-09-09 09:45
I'm running Maverics. When I hit the ok button to save the current settings they don't get written to the preferences.nk file. Does W_Hotbox maybe overwrite some nuke internal functionality?
0 # Wouter Gilsing 2016-09-09 15:35
It does not overwrite any internal functionality. I'll have a look at this ASAP though! Thanks for reporting.
0 # Andrew Mumford 2016-09-15 19:03
Has anyone had this working using the Wacom Remote puck or the Radial Menu ?
0 # Wouter Gilsing 2016-09-17 14:08
Hey Andrew.

I'm not to familiar with the Wacom Radial Menu nor the remote puck you mentioned. Would you like the hotbox to launch when clicking one of your Wacom buttons? Or do you want the option to have a 'launch hotbox' entry in your radial menu?

I'm still using my Intuos3 so I dont have access to any of those features, however, it was fairly easy to just bind the shortcut used for the hotbox as a keystroke to one of the wacoms physical buttons. A expected, the hotbox would now appear every time I push that button.
0 # kire timov 2016-09-27 09:07
Hey mate now when my script is working: http://www.nukepedia.com/python/misc/bugsbunny_motionblur_toggle_v1/finishdown?miv=2&mjv=1

i tried running it in the hotbox.
I couldn't make it work in there..

First i tried at the end of the script to call the main function.. than nothing happens (that was the case with other scripts i had where they had functions inside) - the code is not being called

Secondly , i removed the main function and run the code directly. (but i still have other functions that are being called from the main function)..The code acts strange, not doing what is expected.. on the contrary i tested the very same cody (copy/paste) from hotbox to the script edditor and run my script from there.. it works...
but not as expected in the hotbox. Why is that?
Is it because that hotbox cannot call functions like that?

I am using v1 hotbox at work though, on CentOS
0 # Wouter Gilsing 2016-09-30 03:30
Just had a quick look. Since it's quite a big script, the cleanest/easies t way is to store the script somewhere on disk and to call a method from that module in the button (rather than copy/pasting the whole script into a button).

Seems to work fine for me:

import smartMotionblurSwitch
0 # kire timov 2016-10-01 20:35
Quoting Wouter Gilsing:
Just had a quick look. Since it's quite a big script, the cleanest/easiest way is to store the script somewhere on disk and to call a method from that module in the button (rather than copy/pasting the whole script into a button).

Seems to work fine for me:
import smartMotionblurSwitch

It works for me too, thanks. Just thought to let you know, whenever i try to call definitions directly from the hotbox they don't work, try something like getValue or something, and call that definition in the hotbox...

Btw is there anyway to customize the positions of the buttons?
0 # Juha Takabe 2016-09-28 07:29
Very cool!

Would be great to have some guidance how to create Backdrop around selected nodes as usual, but with custom Label on it with big font size and custom color. Some kind of backdrop preset to keep consistent colors for specific tasks.

0 # Wouter Gilsing 2016-09-28 14:06
Backdrop are a little bit special, as they use some extra scripts to make sure they end up wrapped nicely around your selection. That code is already set up though, and stored in a python module called 'nukescipts'.

This script creates a green backdrop, with the text 'Key' and a slightly bigger font.

import nukescripts

backdropNode = nukescripts.autoBackdrop()

0 # Sri kanth 2016-10-03 10:06
Awesome! Really Great job!
0 # Vik Roni 2016-10-11 11:28
Could you please change the behavior of hotbox script so it could append its preferences in nuke's preference file instead of replacing contents of preference file on each startup?
0 # Wouter Gilsing 2016-10-11 11:31
Hi Vik,

The preference file shouldn't be replaced on every start up. Could you specify which version of Nuke and which OS you're running?
0 # Vik Roni 2016-10-13 09:52
Nuke 8.0v6, OS Windows 7
0 # Wouter Gilsing 2016-10-14 12:16
Yea, as stated earlier v8 is not supported, so I can't guarantee it will run without problem using that version.
0 # sridharan Kay 2016-10-24 08:52
Superrrr Awesome man! Wouter Gilsing
You've brought tool set thinking to scripts and menus. :D :lol:
0 # Tamás Szabó 2016-11-10 11:50
It's fantastic, very helpful and it's working! Thank You so much!
0 # jiwoong park 2016-11-16 14:11
How can I use in Group? 'nuke.selectedN odes' not working
0 # Wouter Gilsing 2016-11-16 14:17
Hey, I was actually working on that while you posted this comment! So yea, that's not yet working at the moment unfortunately.. . I hope to have it fixed for version 1.5.
+2 # Wouter Gilsing 2016-11-16 14:33
Nevermind, looks like it was easier than expected! So the fix will most likely make it into v1.4 which I will release later today.


v1.4 is available for download now!
0 # jiwoong park 2016-11-16 15:22
Wow! Awesome!! thank you
0 # PAUL FLANAGAN 2016-11-23 21:27
very cool! thank you.
0 # Sokratis Synitos 2016-12-01 11:23

I am using NukeX 9.0v7 but I can't get the shortcut key to work.
I tried to change it as well but didn't get anything.
It also made File and Edit menu items switch places for some reason. I can see hotbox under edit menu
0 # Wouter Gilsing 2016-12-01 11:37
Hey Sokratis,

Could you specify which OS + version you're running and what keyboard layout you're using? Thanks
0 # Sokratis Synitos 2016-12-01 11:42
Hi Wouter,

I am on NukeX 9.0v7 on a CentOS 6.5 . My keyboard has a UK layout.

0 # Wouter Gilsing 2016-12-01 11:46
Did you try changing the shortcut to something else and then restarting Nuke?
0 # Sokratis Synitos 2016-12-01 11:49
I did change to three different keys and restarted everytime but it didn't do anything
0 # Claus Steinmassl 2016-12-07 10:53
Hey Wouter,

I've got a strange problem: The buttons inside the hotbox manager are gone. See the screenshot here:

I was on vacation for one week. A freelancer used my machine in that time. Don't know what happend during that week. Since then I'm missing those buttons.... :(

I did a fresh install of the latest version, but that didn't help. Any ideas why this is happening?

I'm running NukeX10.0v5 on Win7.

0 # Wouter Gilsing 2016-12-07 11:00
Hey Claus,

this happens when the hotbox manager fails to locate the icon files. Have a look in the preferences (preferences - W_hotbox) and make sure the 'icon location'-knob is pointing to the folder containing the hotbox icons. By default this is set to '~/.nuke/icons/W_hotbox/'.

Hope that fixes it for you
0 # Claus Steinmassl 2016-12-07 11:15
Thanks very much, that solved the issue! :)

I think the freelancer hit the 'restore defaults' button on the nuke preferences. That caused another problem with hotbox: Nuke wouldn't start anymore due to an error in the prefs. See the screenshot:

Therefore I deleted all hotbox prefes from the nuke preference file. That fixed the start up issue, since hotbox recreated the prefs. But I think I then forgot to set the icons path right agin, since it's located in a custom path here.

Thanks very much for your help! :)
0 # Wouter Gilsing 2016-12-07 11:59
Ah good catch. I wasnt aware of that error. I'll make sure that's fixed in the next version!



This should be fixed in v1.5
0 # Daniel Mellitz 2016-12-07 20:32
Hot Box looks pretty cool but there's a bit of an issue related to the trigger key. Currently you have it set up to hold the key to make the menus appear and they disappear upon release.

The issue is that if you select an option that has a dialogue box with text entry you end up typing a bunch of tildas into the text field on selection because you are likely still holding in the tilda key.

Is there a reason not to have the option to make the hot key a toggle trigger rather than a hold do reveal? For me I think I'd rather tap the key and then make a selection and have it go away at that point.

I realize others would prefer the original behavior. Can you add that as a preference?

0 # Wouter Gilsing 2016-12-07 20:56
Hey Dan,

I can totally see why some people would prefer it that way. I'll look into it.

0 # Wouter Gilsing 2016-12-12 12:18
Hey Dan,

I just made v1.5 available. This version has an option to launch the Hotbox with a single tap, rather than having to press and hold the hotkey.

You can switch to this mode by setting the 'Launch mode' knob in the preferences to 'Single Tap'.

Let me know how if you run into any problems!
0 # Daniel Mellitz 2016-12-13 01:58
Sweet! Thanks for that. I'll let you know if I see any issues.
0 # Tor Andreassen 2016-12-12 13:19
Hey Wouter,
Just started using nuke 10, so I can finally start using the hotbox.
Loving it, it saves so much time! I have a question though..

I was trying to find a way to change where the buttons show up in the hotbox menu, dragging them up or down in the list didn't seem to do it. is there a way to change the order of the buttons?

0 # Wouter Gilsing 2016-12-12 13:29
Hey Tor,
glad to hear that:D

Hmm yea, the drag/drop functionality definitively needs some work, I already spend quite a fair amount of time on it but it still only works occasionally, unfortunately. So that's on the to-do list.

In the mean time... Nasty work around: you could order your buttons by hand. Open the folder containing the button files (open an instance of the Hotbox and choose 'Open in Explorer/Finder /File Browser'). Then just rename the files as you like them to be ordered (001.py for the first button, 002.py for the second etc etc).

0 # Tor Andreassen 2016-12-12 22:14
Hey Wouter,

Awesome, thanks for the update and workaround, I will give that a go,

0 # Adrian Pueyo 2016-12-13 02:02
Hey Wouter,

Thanks for the updates, this gets better and better.

With the new Launch Mode dropdown I would still suggest a 'no-click mode' feature, where without any mouse click the script would be launched on tap release while hovering the mouse over a button; that would make navigation faster, especially on laptop touchpads. On that mode submenus could be accesed after a moment holding the mouse over a button or something. Also with that mode there wouldn't be any key or mouse button being pressed in the moment of the script execution which could be useful for some scripts.

0 # Wouter Gilsing 2016-12-13 12:11
Good point, hadn't thought of that.Thanks for bringing it up, I'll look into it,

0 # M Frank 2016-12-14 18:23
Hi Wouter,

Have you run into any issues calling outside modules/dialogs ? We are trying to call a module that pops open another dialog and it closes immediately. Not sure if there is a threading issue with how the class was written.

0 # Wouter Gilsing 2016-12-14 20:34
Hi Mike,

I've not experienced any problems with external modules nor dialogs. Actually, the 'Hotbox Manager' is quite a good example of a (Qt) dialog saved as an external module, called from a hotbox button.

which version of Nuke and what kind of OS? Also, what kind of panels are you using (Simple Nuke Panes, Python Panels or Qt Widgets)?

Obviously make sure to import the external modules at the top of the button-script.

If you want me to have a look (and you're allowed to), you can email me a sample script so I can help you troubleshoot.

0 # sam alessandri 2016-12-19 12:19
Hi Wouter

Had this running fine..then did a system rebuild. Mac os 10/9/5.
I installed all good and can see the hotbox manager come up when i press it. I cant import my old library..or your one that is supplied...it just remains empty the library...any ideas?

+1 # Wouter Gilsing 2016-12-19 12:26
Hi Sam,

That's unfortunate... Does Nuke print any error messages upon importing an archive?

Make sure your 'Hotbox location' knob in the preferences is pointing to the Hotbox folder containing the 'Single', 'Multiple' and 'All'-folders. By default this is set to '~/.nuke/W_hotbox/'.

If that's not the case and the archive is still not importing, you can restore the archive manually. Rename your archive file for somithing.hotbo x to something.tar and unpack the tar. This should give you three folders ('Single', 'Multiple' and 'All'). Place those in the W_hotbox folder and you should be good to go.
0 # sam alessandri 2016-12-21 07:33
Ill check all these and get back :) thanks for following up.
0 # sam alessandri 2016-12-21 11:35
Hi all up and running again :) thanks Wouter
0 # Fabian Jimenez 2017-01-13 20:00
Hi Wouter! Love your tool. It's an incredible time saver and I've been using it every day for the last month on production. Just need some advice...I'm trying create a shortcut in the hotbox "All" menu for popping the color picker("tile_co lor") window for any node. The shortcut is Ctrl+Shift+C and the code that works in the script editor is "nukescripts.co lor.nodes(). When adding to hotbox script editor...doesn' t seem to work. I get this error msg: W_HOTBOX ERROR: W_hotbox/ALL/Co lorPicker - line 2:
NameError: name 'nukescripts' is not defined. I have this same error w/other basic shortcuts as well from time to time. I'm a newbie when it comes to python so when you get a chance would love to know the way around this. THanks again for your awesome tool.
0 # Fabian Jimenez 2017-01-13 20:04
forgot to mention I'm currently on nuke10.0 v1 on windows
0 # jean-luc azzis 2017-01-13 21:08
you need to add an extra line at the beginning. so it should looks like that:

import nukescripts

0 # Wouter Gilsing 2017-01-13 21:43
Hi Fabian, thanks for the compliments, glad you like it:)

As Jean-Luc just pointed out correctly you have to import the module first, whenever you use an external module (like nukescripts).

0 # Fabian Jimenez 2017-01-13 23:33
Thanks guys! Worked like a charm ;)
0 # Peter Jansen 2017-01-18 04:08
I love this! Works perfectly here, just spent an hour playing with it and writing little scripts for it.

Coming from Maya I was wondering if the Maya interaction could be replicated closer? I never use right click in the node graph, so I'd happily replace the node menu that comes up with the hotbox. And ideally a mode where the action is taken upon release of the key/right click.

0 # Wouter Gilsing 2017-01-18 07:12
Hi Peter, thanks!:)

I actually got the 'execute without click'-thing working, so that will definitely make it's way into the next version.

As for the right-click, that's currently not possible unfortunately. Alternatively, you can map the shortcut to the spacebar though, to mimic Maya closer (use 'space' in the shortcut entry of the preferences)?


You have no rights to post comments

We have 215 guests and 8 members online