Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Get Last Saved Online Item and Paste Text

Description
Retrieves the last saved ClipboardFusion Online item, sets the clipboard text and then pastes the text into the currently focused application window.
Language
C#.net
Minimum Version
Created By
Jon Tackabury (BFS)
Contributors
-
Date Created
Aug 19, 2014
Date Last Modified
Feb 28, 2017

Macro Code

using System;

public static class ClipboardFusionHelper
{
    public static string ProcessText(string text)
    {
    	text = BFS.ClipboardFusion.GetLastSavedAPIText();
        if (text.Length > 0)
            BFS.Clipboard.PasteText(text);

        return text;
    }
}