PDA

View Full Version : Script: getting user computer's ID number



SGW
08-15-2009, 09:55 AM
Hi,

Is there a way to script a button so that when clicked, it can display the user's computer's hardware ID? I have experimented with MSI.GetUserInfo (Serial Number) but no success in getting the computer ID to display.

Any help would be appreciated.

Kind Regards,

SGW

SGW
08-15-2009, 11:32 AM
Hi,

Not sure how to edit posts, so added this to last post:

I found what I think is an applicable link on this forum, but cannot get the suggestions to work:

http://www.indigorose.com/forums/showthread.php?t=26340&highlight=computer

I placed the function code (bigger code item ) into the global functions for the project, placed the function call (smaller code item) into a button. Have added and checked luacom plugin. When I click on the button, the computer ID does not display. Nothing displays. I'm wondering if I have to create some form of display/message box with a variable for the return in it? (Not sure how to do this, if needed.)

Any help appreciated.

Kind Regards,

SGW

SGW
08-15-2009, 03:57 PM
Hi,

OK. I think I figured it out with a message box:


Dialog.Message("The value is:", var);

The return is the hard disk's name (like Samsung) and an ID number. The ID number has a long bar (_________)between the first and second set of characters. Not sure what this is?

Kind Regards,

SGW