Does anyone have a Notepad++ plugin that will generate UUIDs and insert them

Charley Rathkopf picture Charley Rathkopf · Mar 30, 2010 · Viewed 12.1k times · Source

I Often need UUIDs inserted into files that I'm editing in Notepad++. Does anyone have a macro or add in that does this. Or an autohotkey script?

Answer

wallflower picture wallflower · Jul 13, 2010

Install the GhNppExec plugin from Plugin Central, then configure to run the simple Python script below.

Use the shortcut mapper to assign a key combination to the plugin command.

import uuid
import sys

# make a random UUID
sys.stdout.write(str(uuid.uuid4()).upper())