Hello, Using AXUIElementMBS, is it possible to send a KeyPress event to the frontmost application, even if it's not a Xojo one?
I coded that : dim a as new AXUIElementMBS // get the element a.PostKeyboardEvent(0, 53, true ) // Esc down a.PostKeyboardEvent(0, 53, false ) // Esc up It does not work, with or without enabling access for assistive devices. Where am I wrong? Should I use another class instead of AXUIElementMBS TIA for any help -- Jean-Luc Arnaud _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info