using System;
public static class ClipboardFusionHelper
{
public static string ProcessText(string text)
{
//get the number of Clipboard Pinned Items
int pinnedItemCount = BFS.ClipboardFusion.GetLocalPinnedItemCount();
//clear the text variable
text = "";
//add all of the Clipboard Pinned Items to the text variable, separated by a new line character
for(int i = 0; i < pinnedItemCount; i++)
text += BFS.ClipboardFusion.GetLocalPinnedText(i) + Environment.NewLine;
//paste the text variable
BFS.Clipboard.PasteText(text);
return text;
}
}