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?

Show notification if files are copied

Description
This macro will show a notification if the clipboard contains one or more files.
Language
C#.net
Minimum Version
Created By
Keith Lammers (BFS)
Contributors
-
Date Created
Mar 20, 2020
Date Last Modified
Mar 20, 2020

Macro Code

using System;
using System.Collections.Generic;

public static class ClipboardFusionHelper
{
	public static string ProcessText(string text)
	{
		if (System.Windows.Forms.Clipboard.ContainsFileDropList())
		{
            BFS.Dialog.ShowTrayMessage("File(s) copied to clipboard!");
		}
        
        return text;
	}
}