ScriptUI Palette Focus After Clicking Button
Hello, first time poster here!
I am working on developing an InDesign palette and I have run into an issue surrounding clicking buttons. The palette that I am working on is something that I want to stay open so that the user can interact with it while they work on their InDesign document. I want key focus to be on the document after clicking buttons in the palette and I am a bit stuck.
Here is my use case: I click a button in the palette and it selects multiple frames on the page. I then want to be able to use arrow keys to nudge the frames around (for example). I can’t use the arrow keys to move the objects until I click back into the document because the palette is holding key focus.
How do I tell my script to return focus to the InDesign document while keeping the palette open?
Any feedback is appreciated!
Thanks,
Jeremy
