There currently isn't any way to set the Clipboard Manager selected index, but I've added this to our feature request list and we'll be sure to let you know if/when we're able to implement it in a future version! In the meantime, I put together two Macros that should do the trick.
The first one, "Set Increment Index and Paste", will save the currently selected index and paste the item you had selected in the Clipboard History. Then you use the second Macro, "Increment Index and Paste" to keep pasting the next Clipboard History item in the list.
Here's how to get them into ClipboardFusion:
I hope this works for you!
private static bool IsClipboardManagerOpen()
{
// Loop through all visible windows and look for a window with the right title that is run by the ClipboardFusion process
foreach(IntPtr window in BFS.Window.GetVisibleWindowHandles())
{
if(BFS.Window.GetText(window).IndexOf("ClipboardFusion", StringComparison.OrdinalIgnoreCase) != 0)
continue;
if(BFS.Application.GetMainFileByWindow(window).IndexOf("clipboardfusion.exe", StringComparison.OrdinalIgnoreCase) == -1)
continue;
return true;
}
// If we got this far, that means we didn't find anything
return false;
}