Re: UUID
Gotta love this list ;-) On 17/08/2010, at 10:24 PM, Klaus on-rev wrote: > Hi all, > > Am 17.08.2010 um 14:18 schrieb Malte Pfaff-Brill: > >> Hey Monte, >> >> http://marksmith.on-rev.com/revstuff/ >> He has got a very nice lib for UUIDs >> >> Cheers, >> >> Malte > > Yep, or just use shell on Mac and Win (no idea about Linux, but might be > similar to MacOS)! > > Put these two lines into a custom property of your stack or wherever > > Set TypeLib = CreateObject("Scriptlet.TypeLib") > result = TypeLib.Guid > > And then use this function to get a UUID: > > function get_uuid >if the platform = "MacOS" then >put shell("uuidgen") into tUUID > else >do (the YOUR_CP_NAME_HERE of stack "your stack with the CP") as VBScript >put the result into tUUID > > ## Comes in {} on Windows! >delete char -1 of tUUID >delete char 1 of tUUID > end if > return tUUID > end get_uuid > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > kl...@major.on-rev.com > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: UUID
Woah, now there's a handy site ;-) On 17/08/2010, at 10:18 PM, Malte Pfaff-Brill wrote: > Hey Monte, > > http://marksmith.on-rev.com/revstuff/ > > He has got a very nice lib for UUIDs > > Cheers, > > Malte > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: UUID
Hi all, Am 17.08.2010 um 14:18 schrieb Malte Pfaff-Brill: > Hey Monte, > > http://marksmith.on-rev.com/revstuff/ > He has got a very nice lib for UUIDs > > Cheers, > > Malte Yep, or just use shell on Mac and Win (no idea about Linux, but might be similar to MacOS)! Put these two lines into a custom property of your stack or wherever Set TypeLib = CreateObject("Scriptlet.TypeLib") result = TypeLib.Guid And then use this function to get a UUID: function get_uuid if the platform = "MacOS" then put shell("uuidgen") into tUUID else do (the YOUR_CP_NAME_HERE of stack "your stack with the CP") as VBScript put the result into tUUID ## Comes in {} on Windows! delete char -1 of tUUID delete char 1 of tUUID end if return tUUID end get_uuid Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: UUID
On 17/08/2010, at 10:06 PM, Shao Sean wrote: > yup.. was posted to the list a year or so ago.. does not work in compiled > apps, only in the IDE and it seems only for the U3 builds.. Ah, might be ok for my situation but it's a pity it's not a public function? Cheers Monte > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: UUID
Hey Monte, http://marksmith.on-rev.com/revstuff/ He has got a very nice lib for UUIDs Cheers, Malte ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: UUID
yup.. was posted to the list a year or so ago.. does not work in compiled apps, only in the IDE and it seems only for the U3 builds.. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
UUID
Hi I found this little gem in the rev SB library. _internal call "generate_uuid";put the result I'm wondering why it's not a public function and if there's a problem with me using it. Cheers Monte___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: VB script for uuid
> not necessary anymore, already found it in the list archives! > Always forget that they exist :-) Must be old age creeping upon you Happy birthday Klaus :-) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: VB script for uuid
Hi all, Hi all, someone posted a VB script for generating uuids yesterday. Unfoturnately I cannot find it anymore... Can someone please pot this again or sned it to em via mail? not necessary anymore, already found it in the list archives! Always forget that they exist :-) Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
VB script for uuid
Hi all, someone posted a VB script for generating uuids yesterday. Unfoturnately I cannot find it anymore... Can someone please pot this again or sned it to em via mail? Thanks! Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: UUID Generation
I am aware of the C++/Visual Basic code to generate a UUID including those on sysinternals. I am looking for a (portable) 'RR' implementation of the UUID algorithum. Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: UUID Generation
K, what do you want to accomplish? Generate or get the file ids? if it's the later, check out www.sysinternals.com for the first, internal file id tracking, just add 1 to a fileID, you can work as many as 2^48 files or folders! then use the file array object filearray[,"path|name|type|size|data"] put filesize(filearray[fileid,"path") into filearray[fileid,"size"] put filearray[123,"filename") &cR after afilelist cheers Xavier > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of K > Sent: Friday, July 16, 2004 10:27 > To: [EMAIL PROTECTED] > Subject: UUID Generation > > > > > I use UUIDs in a considerable amount of my *NIX and Win32 C++ > applications (Temporary file names, Object Ids etc.). I was > wondering if anyone has written a function/command for Runtime Revolution? > > Kevin > > > -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- > Disclaimer: > > Any resemblance between the above views and those of my > employer, my terminal, or the view out my window are purely > coincidental. > Any resemblance between the above and my own views is non-deterministic. > > The question of the existence of views in the absence of anyone to hold > them > is left as an exercise for the reader. The question of the existence of > the reader > is left as an exercise for the second god coefficient. > (A discussion of non-orthogonal, non-integral polytheism is beyond the > scope of this article.) > > > > ___ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > ___ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
UUID Generation
I use UUIDs in a considerable amount of my *NIX and Win32 C++ applications (Temporary file names, Object Ids etc.). I was wondering if anyone has written a function/command for Runtime Revolution? Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution