It works like any other command, you can set up a button or hotkey to run it. Or press > to display the command-line and type it in as an ad-hoc command.
See https://www.gpsoft.com.au/help/opus12/index.html#!Documents/customize.htm if you're not sure about configuring buttons/hotkeys.
( How to use buttons and scripts from this forum is also useful as an alternative guide. --Leo)