[MBS] info RemoteControlMBS (MBS REALbasic Plugin Mailinglist archive)
Back to the thread list
Previous thread: [MBS] Question about delayMBS
Next thread: [MBS] DynaPdf plugin questions
| [MBS] info RemoteControlMBS - Vincenzo Corallo | |
| Re: [MBS] info RemoteControlMBS - Christian Schmitz | |
| [MBS] info RemoteControlMBS |
| Date: 15.06.08 20:03 (Sun, 15 Jun 2008 21:03:07 +0200) |
| From: Vincenzo Corallo |
|
Hi Christian,
I would like to know what is the difference between the method " RemoteControlMBS.MacDisplayNameForKeyCode " and method " RemoteControlMBS.MacTextForKeyCode ". I noticed that in some cases, using the same keycode, with the two methods I get different results. For example, using the keycode 12 with the German keyboard layout, with the method " RemoteControlMBS.MacDisplayNameForKeyCode(12) " I get the string " q " while with the method " RemoteControlMBS.MacTextForKeyCode(12,0,0) " I get the string " 'q ". You can tell me the reason for this strange behaviour? Thanks! Best regards. Vincenzo Corallo ---------------------------- Vincenzo Corallo Grottaglie (TA) ITALY E-mail,<email address removed> ---------------------------- _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list <email address removed> http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info |
| Re: [MBS] info RemoteControlMBS |
| Date: 16.06.08 11:51 (Mon, 16 Jun 2008 12:51:59 +0200) |
| From: Christian Schmitz |
|
Vincenzo Corallo <<email address removed>> wrote:
> Hi Christian, > I would like to know what is the difference between the method " > RemoteControlMBS.MacDisplayNameForKeyCode " and method " > RemoteControlMBS.MacTextForKeyCode ". MacDisplayNameForKeyCode returns names like "Tab", "F1" or "Backspace" where MacTextForKeyCode returns just one character. > I noticed that in some cases, using the same keycode, with the two > methods I get different results. > For example, using the keycode 12 with the German keyboard layout, > with the method " RemoteControlMBS.MacDisplayNameForKeyCode(12) " I > get the string " q " while with the method " > RemoteControlMBS.MacTextForKeyCode(12,0,0) " I get the string " 'q ". > You can tell me the reason for this strange behaviour? Thanks! Are you sure that is true? MsgBox str(lenb(RemoteControlMBS.MacTextForKeyCode(12,0,0))) shows 1 and MsgBox RemoteControlMBS.MacTextForKeyCode(12,0,0) shows "q" here. Gruß Christian |
Links
MBS Realbasic Plugins - Pfarrgemeinde Messdiener Nickenich