Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

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
VB.net
Minimum Version
Created By
Jon Tackabury (BFS)
Contributors
-
Date Created
Aug 19, 2014
Date Last Modified
Aug 19, 2014

Macro Code

Imports System

Public Class ClipboardFusionHelper

    Public Shared Function ProcessText(text As String) As String
      text = BFS.ClipboardFusion.GetLastSavedAPIText()
      If (text.Length > 0)
          BFS.Clipboard.PasteText(text)
      End If
        
      Return text
    End Function

End Class