News for hackers. Stuff that matters.
Re:Is there a maximum size for Windows clipboard data? by magicalhippo on Wednesday June 08, 2022 @11:48AM (#31669148)
Even better, you can copy an attachment in a mail in Outlook, and paste it into an application running on another computer via RDP. The file will be copied over without the applications knowing any better.

We use this so users can attach invoices and other documents they've received through mail to orders in our application. Users typically run Outlook on their laptop/PC, but our application as a published application.

We rely on Excel exposing the data in an XML format on the clipboard to reliably import data from Excel. Same for Open/LibreOffice. Without it it's impossible to handle cells which contain both the quote character and newlines, due to the way Excel formats plaintext.

We don't want to import the whole file, because the users typically only need to import parts of the spreadsheet. This saves us from writing a complex UI to select the data to import.

And FWIW, I've used that with >100k rows of data.

Re:Is there a maximum size for Windows clipboard data? by yardshop on Wednesday June 08, 2022 @02:52PM (#31672241)
It works several layers deep too. My typical WFH scenario these days is:

    home PC -> 
    RDP to work laptop at home -> 
    VNC to work network -> 
    RDP to work desktop -> 
    RDP to other VMs and PCs at work
I can copy text or a file or a screen shot at any level and paste at any other level. Pretty amazing.
Re:Is there a maximum size for Windows clipboard data? by mtVessel on Wednesday June 08, 2022 @07:17PM (#31675704)
It's clipboards all the way down...
Re:Is there a maximum size for Windows clipboard data? by Melatonic on Wednesday June 08, 2022 @12:49PM (#31670139)
Yea this is a super underrated feature - copy and paste through RDP is awesome. Although in some cases you would probably want to of course disable that for security reasons.