> > Yes, but for that, I have to find the code. I tried a loop from 0 to 300, > with RemoteControlMBS.WinPressKey and no value produced these keys (I tried > in a TextArea full of text); that's why I think something is broken, since at > 128, it starts over like from 0.
scan codes are only from 0 to 127. > Can you actually produce an arrow key or delete on your Win32 computer? Of course. If you have the right key codes. > > I'm getting j=-1, just for o and arrow keys. here is it: const MacCursorLeft = 123 const MacCursorRight = 124 const MacCursorDown = 125 const MacCursorUp = 126 const MacCursorLeftChar = 28 const MacCursorRightChar = 29 const MacCursorDownChar = 31 const MacCursorUpChar = 30 call RemoteControlMBS.MacPressKey MacCursorLeftChar, MacCursorLeft could you go with those codes? >> That's documented by apple. It just changes the mouse position. > > So how does Remote Desktop and (if I recall correctly) TeamViewer work around > this issue? There is probably a trick we didn't see. >> Event taps need root permissions. So I didn't implement them. > > Do you know they would work for that? Apple Remote Desktop catches > Command-Tab and send it further (but TeamViewer doesn't), which implies it's > doable. For now, I think I'll just catch Option-Tab and convert it to > Command-Tab on the remote side (in addition, Windows to Mac would work like > that anyway). Good. I bet those apps may simply have extra permissions or use another API which allows it. 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
