Worker script doesn't show up in the menu for multiple selected workers

I’ve made a custom worker script and placed it into the custom/scripts/slaves directory. When i select a single worker, the script is listed in the right-click scripts menu. When i have more than one worker selected the script doesn’t show up in the right-click menu. The script runs fine on a single worker.

Worker scripts are by default not Multi-Selection enabled. For example, I created a MyWorkerScript.py in custom scripts, and it did not show up in the right-click menu just like you reported.

If you go to the Tools menu and open the “Configure Script Menus…” dialog, then select “Worker Scripts” from the list, you will see why:

You need to select the script, press the “Edit Selection” button, and check the “Enable Multi-Select” option:

image

After that, selecting multiple Workers and right-clicking the selection will display the script item:

https://docs.thinkboxsoftware.com/products/deadline/10.1/1_User%20Manual/manual/script-menus.html#edit-selection

wow, thanks for the quick reply, i didn’t know i could configure scripts that way