
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: {1186B457-B75B-408E-8B4D-9776713AE7A7}
Here is the code: