Copy from Remote DesktopLast Updated December 16, 2024
This section presents sample Javascript code to implement copy-paste from a remote
virtual machine to the local client console.
Prerequisite
: Enable clipboard copy from the remote to local
client.After copy from the remote desktop, clipboard
data becomes available after the mouse cursor is no longer focused on the remote
desktop.
To implement remote copy, add this Javascript
code as a script to existing HTML console code:
Make sure the remote desktop has already
enabled clipboard feature. Before ungrab, a grab event is necessary. You can get remote
clipboard data from the server after sending ungrab.