Hi Ryan - to use a script you need to set it up on a keyboard shortcut.
Push the Options button and then go to the Shortcut keys section of the Options dialog. Push the Add button to make a new shortcut key, type in whatever letter you want to activate it for the "Key" part and paste in the script as the "Command" part.
Then when you press that key that script function will run.