|
|
|||||||
Guy's, I started messing around with a script that creates buttons and/or menu items in IE. MS has a tutorial on this. In the tutorial the GUIDGen.exe tool is used to create a GUID. Is it possible to script the workings of GUIDGen.exe? All other stuff is just simple registry writes but a new GUID is needed before any registry writes can be done. Never did anything with calling an API from a script so I have no idea where to start. Adding Toolbar Buttons to IE Adding Menu Items to IE Get GUIDGen.exe here A registry suitable GUID to use within kix is what I'm looking for. A quote from the readme included in the download. Quote: |
||||||||
|
|
|||||||
What you actually want to script is this: Quote: This API is not part of GUIDGen - GUIDGen is just a wrapper exe to allow you to call the API. If you search around for scripts which call coCreateGUID you should be able to find something that you can convert or use directly. If not, post again. |
||||||||
|
|
|||||||
I thought I'd already done this, but it looks like it may not be that easy... |
||||||||
|
|
|||||||
There is a free GUID generator called GUIDMaker which has a scriptable component available here: http://www.serverobjects.com/products.htm Download the small zip, extract the DLL, copy to your system32 directory and register it. Once you've done that you can issue GUIDs to your heart's content. Here's one I prepared earlier: Code: $sGUID=CreateObject("GuidMakr.GUID").GetGUID Output: Quote: |
||||||||
|
|
|||||||
I should have been clearer in my first post. I meant to say: "scripting the workings of GUIDGen.exe". So if it calls external stuff to do the work how then to script that. Will do some searching but if anyone has some ideas on this Id' be happy to listen. |
||||||||
|
|
|||||||
Will have a look at that. Going to do some testing and will be back with the results. Thanx |
||||||||
|
|
|||||||
And we even have a UDF to create a GUID: CreateGUID - Creates a GUID (globally unique identifier) |
||||||||
|
|
|||||||
For the current status of the project this functionality is used in have a look at the link below. http://www.kixtart.org/ubbthreads/showflat.php?Cat=0&Number=156824&an=0&page=0&vc=1 |