I used the method described here to run custom scripts using a keyboard shortcut in Nautilus, which consists of dropping the script in ~/.local/share/nautilus/scripts and editing the file ~/.config/nautilus/scripts-accels to include the line <shortcut> <script_filename>.
It works, but only with standalone keys, even though the combination appears under scripts in the context menu when I use <Alt>+T as the shortcut. I tried changing the line to <Alt>T, <Alt>+t and many different variations with different modifiers and none worked.
I use Nautilus 3.36.3. Documentation was little help.