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?

Generate New Guid

Description
This macro generates a new guid and puts it on the clipboard.
Language
C#.net
Minimum Version
Created By
g00py
Contributors
-
Date Created
Jul 11, 2017
Date Last Modified
Jul 11, 2017

Macro Code

using System;
using System.Collections.Generic;

// The 'text' parameter will contain the text from the:
//   - Current Clipboard when run by HotKey
//   - History Item when run from the History Menu
// The returned string will be:
//   - Placed directly on the Clipboard
//   - Ignored by ClipboardFusion if it is 'null'
public static class ClipboardFusionHelper
{
	public static string ProcessText(string text)
	{
        string guid = System.Guid.NewGuid().ToString();
        string guidstring = String.Format("\"{0}\"",guid);
		return guidstring;
	}
}