Performance Center - Support Tip : How to emulate a Ctrl + (keystroke) in AJACX TruClient
This is for AJAX TruClient when trying to emulate a Ctrl + (keystroke) on an application. As the recorded event may not perform the required action.
Link in knowledgebase: http://support.openview.hp.com/selfsolve/document/KM00470352
How to emulate a Ctrl + (keystroke) in AJACX TruClient
var Ci = Components.interfaces;
var keyCode = 0, charCode = 0, modifiers = 0;
charCode = 'g'.charCodeAt(0);
var utils = this.object.ownerDocument.defaultView.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils);
utils.sendKeyEvent("keypress", 71, charCode, modifiers, true);
If you are customer you can try posting on our internal forums for more personalized support.
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.