^!v:: { ; Ctrl+Alt+V will trigger this script
text := A_Clipboard
if (text == "") {
MsgBox "Clipboard is empty or not accessible."
} else {
text := StrReplace(text, "`r`n", "`n") ; Normalize line endings
Loop Parse, text
{
SendText(A_LoopField)
Sleep 10 ; Add a small delay between each keypress to avoid overwhelming the VM
}
}
}
Enable it in settings for your VM as I instructed in Step 1, then simply install it. I have only tested on Windows personally. But it likely would work the same way, but should work pretty much the same in the noVNC viewer as for working on a windows system.@Onoitsu2 Do you know if this works also in Debian guests?
I tried quite a lot of different ways, but didn't find a way to paste something into the guest without installing additional software. How are the spice guest tools supposed to work? Do you need special key combinations?
AFAIK, those tools only help with the SPICE display. I cannot imagine how they should work with VNC.@Onoitsu2How are the spice guest tools supposed to work? Do you need special key combinations?
Don't ask me HOW it works. Just that it does with the noVNC Proxmox uses. When installing it, and enabling options as I have cited, you can copy and paste into a Windows VM using the option in the noVNC pull out. I stumbled across it posted on some obscure blog back in '21 (offline now, I tried to find it), and have been using it since. So thought I'd put that knowledge out there where some may look most often.AFAIK, those tools only help with the SPICE display. I cannot imagine how they should work with VNC.
I've been using it since at least a version 7 of proxmox, so not new, but certainly not documented enough.I was sceptic, but you're totally right. This works and seems to be new. Haven't seen the clipboard option until now.
View attachment 79038
It's a bit tedious, yet it works!
View attachment 79039