Generate UUID codes, VBScripting Follow

0

Trying to generate UUID codes. (using Bartender 2016 R9)
Found this link for script that should work but getting syntax errors in bartender.
https://stackoverflow.com/questions/968756/how-to-generate-a-guid-in-vbscript 

Function CreateGUID
Dim TypeLib
Set TypeLib = CreateObject("Scriptlet.TypeLib")
CreateGUID = Mid(TypeLib.Guid, 2, 36)
End Function

Testing script returns error:
OnAutoSelectedEvent (Line 1):Function CreateGUID: Syntax error.

Any suggestions?

Thanks

1 comments

0
Avatar
Xabier Clemente
Moderator
Comment actions Permalink

Hi Allen,

Thank you for reaching us via our Community Forums.

I understand you opened a ticket with our Technical Support Services regarding this issue and were given some links with suggestions. Were these useful to you?

Thanks!

Please sign in to leave a comment.