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