How do you copy Teams message without time and sender information?

Anonymous
2022-06-14T11:30:21+00:00

I want to triple-click a message, copy it to the clipboard, then paste it in whichever application, and I don't want to see the header (time and sender information).

Yes, it is possible to carefully select parts of a message, and make sure you don't snag the beginning or end of the message so you don't "grab" the header. This is not what I'm looking for. I want a one-click-solution.

I found this post dating from 2013, about Skype/Lync. I'm looking for the same thing in Teams.

https://support.microsoft.com/en-us/topic/update-enables-users-to-copy-instant-messages-without-author-name-and-time-stamp-in-skype-for-business-lync-2013-42c4ac43-9d14-d2be-ef38-107f15033bf7

Thank you

Microsoft Teams | Microsoft Teams for business | Chats | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

64 answers

Sort by: Oldest
  1. Anonymous
    2024-01-17T09:43:53+00:00

    I can't even imagine using Windows for my software dev job.... if you are into **** and pulling out hair / getting gray before 30 its good decision to use Windows for developing software, but in all other cases not so much. Because let's face it, windows is not OS for work, it's niche gaming operating system, which will be obsolete when there are good drivers for Linux :).

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-02-19T14:10:30+00:00

    I want to triple-click a message, copy it to the clipboard, then paste it in whichever application, and I don't want to see the header (time and sender information).

    Yes, it is possible to carefully select parts of a message, and make sure you don't snag the beginning or end of the message so you don't "grab" the header. This is not what I'm looking for. I want a one-click-solution.

    I found this post dating from 2013, about Skype/Lync. I'm looking for the same thing in Teams.

    https://support.microsoft.com/en-us/topic/update-enables-users-to-copy-instant-messages-without-author-name-and-time-stamp-in-skype-for-business-lync-2013-42c4ac43-9d14-d2be-ef38-107f15033bf7

    Thank you

    For anyone interested, I've found a workaround for this issue using an external tool. I utilize PastePal, a clipboard manager, which can be found at PastePal. PastePal allows users to write "Transformers" scripts that process and clean the copied data. Here's the Transformer I wrote:

    function transform(clip) {
    
        // Define the pattern to check in the first line
    
        const pattern = /^\[\d+\/\d+\s\d+:\d+\s(AM|PM)\]\s.+$/;
    
        // Split the text into lines
    
        const lines = clip.text.split(/\r?\n/);
    
        // Check if the first line matches the pattern
    
        if (pattern.test(lines[0])) {
    
            // If the pattern matches, return the second line and all subsequent lines, joined into a single string
    
            return lines.slice(1).join('\n');
    
        } else {
    
            // If the first line does not match the pattern, return the original text or handle as needed
    
            return clip.text; // Or any other handling as required
    
        }
    
    }
    

    I use this to clean up messages copied from Teams.

    Hope it can be helpful to someone else too.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-06-20T08:29:59+00:00

    I've found a workaround using AHK script. This work almost perfect for single messages. Tripple click to select all, Copy and Paste works fine.

    1. Downlaod and install AHK version 1.1 (https://www.autohotkey.com/download/ahk-install.exe)
    2. Create the below script, compile and run. (change to Teams.exe as application name if you are using old teams version / Save the script as someName.ahk and the compile using AHK)
    3. Add it to startup folder so you forget about it ;) #IfWinActive ahk_exe ms-teams.exe ^c::
       Send, +{Left}
      
       Send, ^c
      
       return
      
      #IfWinActive

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-07-12T18:28:17+00:00

    I never ceases to amazing me how stupid these devs are XD

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2024-08-14T20:26:55+00:00

    I chanced across this topic because the headers stopped showing on my copy/paste from teams. I hope this new behavior (not keeping the name/date) is a bug. I regularly need to copy chains of text from teams and keep the timestamp and username. It's possible to delete that information if you don't need it, but it would be impossibly difficult to add it when it's not there. Ideally there would be setting to change copy behavior, not removing the feature. It's definitely not a bug.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments