Skip to main content
rrhyne
December 14, 2021
Solved

Focus plugin window on open?

  • December 14, 2021
  • 11 replies
  • 1495 views

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?

This topic has been closed for replies.
Best answer by Gleb

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

11 replies

Stephane_Popout
March 8, 2024

Your solution is even more elegant @tank666 ! Thaaaankkks guys 🙂