Sign in to follow this  
Followers 0
theguy0000

_GenerateGUID

13 posts in this topic

just a little function i made from something i found online...It IS theoretically possible to get the same one twice, but it's also theoretically possible for an asteroid to fall from the sky destroying us all. I don't think anyone will lose any sleep over either.

Func _GenerateGUID ()
$oScriptlet = ObjCreate ("Scriptlet.TypeLib")
Return $oScriptlet.Guid
EndFunc

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites



meh.

ovw.

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

ovw.

:P:D

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites

:P:D

Yep

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Yep

lol

"meh" is generally used to express indifference.


The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites

...It IS theoretically possible to get the same one twice, but it's also theoretically possible for an asteroid to fall from the sky destroying us all. I don't think anyone will lose any sleep over either.

That looks very similar to an msdn article I was reading:

Although its theoretically possible to generate a duplicate GUID, its also theoretically possible that Bill Gates will give all his money to the Scripting Guys. We arent going to lose any sleep over either possibility.

Hmmm... Coincidence? :P

Share this post


Link to post
Share on other sites

That looks very similar to an msdn article I was reading:

Hmmm... Coincidence? :P

shhh. :D

lol

yeah i changed cause us scripting guys are cool. :)


The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites

This generates a random id right?

Share this post


Link to post
Share on other sites

This generates a random id right?

I guess so, it uses some built-in Windows formula, so it's probably the best you can get with AutoIt.

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0