
Create a Globally Unique Identifier with this function
A GUID is a Globally Unique Identifier, basically a 16-Byte string guaranteed to be unique.
This is a simple function that allows you to create a GUID that uses the Windows API to guarantee it's uniqueness.
The uses for the ID
in scripts is limitless.
Example: {25E4F7AA-9A57-44F0-AF31-FF09DCAA1F08}
Here is the code: