You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
Creating language key map file not a solution.
Solution is change method createKeyDownEvent of
com.windowtester.recorder.event.UISemanticEventFactory :
/**
* Construct a SemanticKeyDownEvent
* @return a semantic event
*/
public static SemanticKeyDownEvent createKeyDownEvent(Component comp, char keychar,int mods) {
EventInfo info = extractInfo(comp,0,0,1);
SemanticKeyDownEvent keyDown = new SemanticKeyDownEvent(info);
keyDown.setKey(keychar);
KeyStroke ks = KeyStrokeMap.getKeyStroke(keychar);
int code;
if(ks==null)
code=String.valueOf(keychar).codePointAt(0);
else
code=ks.getKeyCode();
keyDown.setKeyCode(code);
return keyDown;
}
I think it will work for all languages like russian (with full keyboard
character replacment)
Original issue reported on code.google.com by
[email protected]
on 23 Aug 2012 at 10:45The text was updated successfully, but these errors were encountered: