Re: [MBS] Getting LinuxPressKey to work? (MBS REALbasic Plugin Mailinglist archive)
Back to the thread list
Previous thread: [MBS] Can you fix/workaround Feedback 8212 - Serial Port Hangup on Windows
Next thread: Re: [MBS] WinVirtualKeyForASCII bug
| Re: [MBS] Getting LinuxPressKey to work? - Christian Schmitz | |
| [MBS] Getting LinuxPressKey to work? - Brendan Murphy | |
| Re: [MBS] Getting LinuxPressKey to work? |
| Date: 26.02.10 16:54 (Fri, 26 Feb 2010 16:54:10 +0100) |
| From: Christian Schmitz |
|
Am 26.02.2010 um 16:31 schrieb Brendan Murphy: > call > RemoteControlMBS.LinuxPressKey(KeyCodesMBS(keyCodes).AsciiToKeyCode(ch)) > > I am passing in the value of an ASCII "x", but when I stop at a > break in the KeyDown method I get a value of 0 as the input key > stroke. What do I need to do to make this work? The first thing here: Please split lines like this. Use temporary variables so you see in the debugger what a function returns before you pass it to the next method. Does the Presskey example project work for you? Greetings Christian |
| [MBS] Getting LinuxPressKey to work? |
| Date: 26.02.10 16:31 (Fri, 26 Feb 2010 09:31:08 -0600) |
| From: Brendan Murphy |
|
I am creating a automated test system for my Formtted Text Control
and I want to simulate a user typing into the control. Everything is working great under the Mac and Windows, but the linux portion is failing. Under linux (Ubuntu 9.10) I do the following to inject the key press. call RemoteControlMBS.LinuxPressKey(KeyCodesMBS(keyCodes).AsciiToKeyCode(ch)) I am passing in the value of an ASCII "x", but when I stop at a break in the KeyDown method I get a value of 0 as the input key stroke. What do I need to do to make this work? _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list <email address removed> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info |
Links
MBS Realbasic tutorial videos - Pfarrgemeinde Ministranten Nickenich