ScirptUI: in events `app.activate();` doesn’t work on Mac
Version of Adobe InDesign
all
Steps to reproduce the issues
* Build a ScriptUI palette with a button (or any other element).
* Give the button a .onClick
event with a app.activate;
to give the programm’s focus back to InDesign.
* Try to perform an InDesign shortcut (such as "command f" to show the built-in find dialog or any other you prefer).
Expected result
The focus of the programm should be given back to InDesign and the called action in InDesign should be performed (such as showing the find dialog).
Actual result
The focus remains on the ScriptUI palette and nothing happens.
Stated here:
https://community.adobe.com/t5/indesign-discussions/scriptui-palette-focus-after-clicking-button/td-p/10378801
I can confirm this (non-)behaviour on Mac.
Thanks,
Tobias