3 ms·
The choco script is called Update-SessionEnvironment (alias refreshenv). It works for both cmd and Powershell. > Clipboards Or use CopyQ wich is FOSS, the bes
by majkinetor 5y ago
The choco script is called Update-SessionEnvironment (alias refreshenv). It works for both cmd and Powershell.
> Clipboards
Or use CopyQ wich is FOSS, the best and x-platform
- dflock 5y agoThanks! I've has a look at CopyQ and I don't think it can do what I want on Windows: https://copyq.readthedocs.io/en/latest/scripting-api.html#linux-mouse-selection https://copyq.readthedocs.io/en/latest/scripting-api.html#li... I don't want multiple clipboards or history or a clipboard manager, I just want the Primary Selection thing from Linux. I just want any text selection anywhere to be automatically kept somewhere and allow me to paste it in on a middle mouse click. I would _love_ to be wrong, but I don't think that's a thing on Windows?
- majkinetor 5y agoYou can do that with Auothotkey easily: This is PoC of the top of my head ~LButton Up:: If ( A_Cursor="IBeam") { Send, ^c Tooltip, Copy Selection`n%Clipboard%, 0, 0 } Return CopyQ will save your history and everything you select will go there automatically. EDIT: Found this, you might want to check it out: https://www.autohotkey.com/board/topic/5139-auto-copy-selected-text-to-clipboard https://www.autohotkey.com/board/topic/5139-auto-copy-select...
- dflock 5y agoI will be checking out AutoHotkey based solutions, thank you!