Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

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;
    }
}