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?
Save up to 50% on our desktop apps during our Year End Sale!Save up to 50% on our desktop apps during our Year End Sale, including DisplayFusion, ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!Save up to 50% on our desktop apps during our Year End Sale!

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