Hello,
Is there a way to determine if Photoshop is the application that has focus (i.e. is in the foreground from the user’s perspective) from the UXP script ?
I tried using require(“photoshop”).app.focus with no chance. I see that there exist a bringToFront method but no “focus” method.
It would greatly help me!
Thank you in advance.