Focus plugin window on open?

I’d like my plugin to be interacted with primarily via the keyboard.

The primary flow would be CMD+/, select plugin, down arrow to action in the plugin, return to run the action on the selected frame.

To do this, I need to set the user’s focus to the plugin window.

Is that possible?

Just call window.focus() in the UI code.

Worked beautifully. Dead simple, can’t believe I didn’t try it. Thanks!