Tools:Plug-ins:Plug-in Manager Custom Plug-ins pane.  New. Command.  Edit Script... button.  Paste the script from above. Edit workspace to add the new command and assign a keyboard shortcut.   HTH
    • Like
    1