You can help youself by try it out. But anyway... Every beginning is difficult
You can download the full macro at the end of post - see attachment
Variable Set to ASCII Char 13 to %T[97]% // Save "Carriage Return" in string variable %T[97]%
Variable Set to ASCII Char 10 to %T[98]% // Save "Line Feed" in string variable %T[98]%
// merge both variable %T[97]% and %T[98]% to %new_line%
trigger the same behave like pressing < Enter > on keyboard
Variable Set String %new_line% to "%T[97]%%T[98]%"
// Save all content in string variable %full_uncut_content_clipboard%
Variable Set String %full_uncut_content_clipboard% from the clipboard contents
// Now, the content from clipboard is in string variable %full_uncut_content_clipboard% but how we get it into T[x] variable ?
// With "Split String" ... (Variables - Split String)
Split String "%full_uncut_content_clipboard%" on "%new_line%" into %T%, starting at 1
// We say: Split String %full_uncut_content_clipboard% on every end of line %new_line%
// And put them into %T% variable beginning with %T[1]%
continue with %T[2]%, %T[3]% untill all data is split
// Now you can do the 2nd job
Variable Set String %T[20]% to "Tata"
Variable Set String %T[21]% to "Toto"
Variable Set String %T[22]% to "Titi"
// Now we bring it into the correct order
// Remeber:
%T[1]% = Maggie
%T[2]% = Yubie
%T[3]% = Ned
%T[4]% = Rufu
%T[5]% = Lily
Text Box Display: Show all Names
You learn faster when you try out some thinks. So see this is a special case. Welcome to Macro Express Pro
curious! This morning I tested both macros with "global variable" (Make this variable availably to macros called by this macro, Macro 1+Macro 2) Doesn't work. Now, it works O_o
Thanks Cory. Problem solved.
Solution: "Make this variable availably to macros called by this macro" in Macro 1 AND Macro 2