notepad++uuidautohotkey

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


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?


Solution

  • 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())