Ok, a little more info for the OSK issue. The root problem has to do with focus change. Both S&T and IE select the text in the box every time they get focus. Based on this I am assuming that they way the OSK works is to reset focus back to the app and do a sendkey for each keystroke. Good in practice for most, but not in this case.
There are a couple of different workarounds I have found for this, but being unfamilure with the RR code I am not sure wich is best.
1) Send a "Right Arrow" before each keystroke. This will put the cursor at the end of the text already in the box and not overwrite it.
2) Wait until the "ENTER" key is pressed on the OSK and send what is in the text box to the form in one shot without focus change.
3) Use the clipboard method I outlined earlier where again on the "ENTER" key press within the OSK, copy the text in the text box to the clipboard, then change focus to the app and send "CTL-V then ENTER".
Anyone more familure with the code have any ideas?



LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks