I am trying to copy a name from an interaction software we use at the company I work for. I tried this macro: Chat name.kmmacros (1.6 KB)
But instead of pasting just 'Tracey King" it inputs everything listed on the page. Ideally, I would like just the first name to be copied and set to the "name" variable. Even more ideal I would like it just to use "Tracy" instead of "Tracy King".
That way, when a message is sent, it will be personalized with their name (even though we typically handle 4 chats at one time).
Here is the HTML for the section of the page where it states the name:
This worked beautifully for one of them! But it kept using the same name for all 4 chats I am going to play around with it a bit more to see if I can use a different element name using the information you gave me! Thank you!