I have a project running on dual monitors. (open with system.gui.openDesktop(…)
In my project I have a Client Event script, Keystroke Script. (that´s muting my Alarm Sound)
Everything works fine when the primary screen is “in focus”, but when the project on screen2 is marked/in focus the keystroke script won´t be executed.
Any ideas why?
Sounds like a bug. A second desktop window uses its own set of ancestor listeners to catch global keystrokes, and the client event keystroke listeners would have to be added when the second desktop opens.
It´s has been confirmed by Inductive as a bug. I reported this in February, and the status of this ticket is now; In Progress.
The answer from support: This is actually an existing bug. Unfortunately I don’t have a workaround for you at this point, but I can keep you updated on the ticket’s progress.