Simulate a "button press" event using the enter key, no matter what is in focus

I would consider moving the button script to a project script, then calling it from wherever you need.

3 Likes