Started work on login token.

This commit is contained in:
Ylian Saint-Hilaire 2021-04-15 15:38:38 -07:00
parent 56ba656bd4
commit fe3af51d40
1 changed files with 4 additions and 1 deletions

View File

@ -407,7 +407,10 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
obj.SendStringUnicode = function (str) { obj.SendStringUnicode = function (str) {
if (obj.State != 3) return; if (obj.State != 3) return;
for (var i = 0; i < str.length; i++) { obj.send(String.fromCharCode(0x00, obj.InputType.KEYUNICODE, 0x00, 0x07, 0) + ShortToStr(str.charCodeAt(i))); } for (var i = 0; i < str.length; i++) {
obj.send(String.fromCharCode(0x00, obj.InputType.KEYUNICODE, 0x00, 0x07, 0) + ShortToStr(str.charCodeAt(i)));
obj.send(String.fromCharCode(0x00, obj.InputType.KEYUNICODE, 0x00, 0x07, 1) + ShortToStr(str.charCodeAt(i)));
}
} }
obj.SendKeyUnicode = function (action, val) { obj.SendKeyUnicode = function (action, val) {