mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added remote desktop typing dialog.
This commit is contained in:
parent
c8689ac4b6
commit
81fdc06ec3
5 changed files with 61 additions and 8 deletions
|
@ -747,8 +747,12 @@ var CreateAmtRemoteDesktop = function (divid, scrolldiv) {
|
|||
}
|
||||
|
||||
obj.sendkey = function (k, d) {
|
||||
if (typeof k == 'object') { for (var i in k) { obj.sendkey(k[i][0], k[i][1]); } }
|
||||
else { obj.send(String.fromCharCode(4, d, 0, 0) + IntToStr(k)); }
|
||||
if (typeof k == 'object') {
|
||||
//for (var i in k) { obj.sendkey(k[i][0], k[i][1]); }
|
||||
var buf = ''; for (var i in k) { buf += (String.fromCharCode(4, k[i][1], 0, 0) + IntToStr(k[i][0])); } obj.send(buf);
|
||||
} else {
|
||||
obj.send(String.fromCharCode(4, d, 0, 0) + IntToStr(k));
|
||||
}
|
||||
}
|
||||
|
||||
function handleServerCutText(acc) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue