> work (arrow keys, or delete, for instance, but there are numerous failing > keys).
Well, for those you may just go with hard coding the combinations. > On Mac, most keys work; however, I've had to make a “select case” for the > arrow keys and the “o” key (strange for the “o” key; “O” is recognised just > fine, as are all the other characters…) since they all fail to be recognised > by RemoteControlMBS.MacTextForKeyCode(i,3,j) (I've made like the example, > with a loop, testing all key modifiers combinations). If you have a sample project there, maybe email it to me so I can check it here. > Anyway, the biggest problem I'm having on the Mac side is with the mouse. I > can move the mouse remotely (I see it moving as well on the remote computer), > but it's like if the applications won't notice the move (e.g. the Dock > doesn't show the name of the app the mouse is over, menu items aren't > highlighted until I actually click on them or the screen saver does not > vanish with mouse moves). That's documented by apple. It just changes the mouse position. > Next, I'd ideally want to catch as much keys as possible: for remote > controlling, this is almost a requirement. I've problems with these: I am not sure about those. Maybe NSEventMonitorMBS can catch a few as well as WindowsKeyFilterMBS class. > For Command-Tab, I tried several things, like a CarbonHotKeyMBS (not caught) > and NSEventMBS seem to imply one cannot handle global events (which I assume > Command-Tab is). On the Internet, I found one suggestion about using Event > Traps (I don't know how to use it) and one piece of code: Event taps need root permissions. So I didn't implement them. Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
