Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

Computer ID

  • Please log in to reply
7 replies to this topic
  • Guests
  • Last active:
  • Joined: --
Statement 1: every window has its own unique ID number. To get it I call:
WinGet, WinID, ID, Some win title
Statement 2: every computer has its own unique ID number. To get it I call:
Msgbox, %A_ComputerName%
Is statement 2 true? If not, how to get unique Computer ID?

  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008
What is unique Computer ID?
This would mean there is no other computer having same ID :?:

  • Members
  • 23 posts
  • Last active: Nov 17 2010 09:58 PM
  • Joined: 07 Sep 2010
%A_ComputerName% is the computer name, that one you set for yourself in right-click on My Computer > Properties > Computer Name. It is nothing like an ID, let alone unique.

Perhaps you would like to get something like a MAC address of the (built-in) network card or something that is kinda unique to a computer?

  • Guests
  • Last active:
  • Joined: --
Ok, I want to make a script that will run only on 3 computers on my job (let's call them A,B,C) and nowhere else. So, if someone tries to run script on computer that is not either A or B or C script must not work. How do I identify is current computer A or B or C?

  • Members
  • 3199 posts
  • Last active: Nov 05 2015 09:55 PM
  • Joined: 28 Nov 2009
How to generate a unique hardware ID / fingerprint :?:

  • Guests
  • Last active:
  • Joined: --
None, I tried to understand codes in that thread, but this is too advanced for me. :oops:
Can someone write a simple code that will show me processor ID? Sorry if I ask too much.

  • Members
  • 51 posts
  • Last active: Dec 03 2010 10:47 PM
  • Joined: 07 Jan 2009
how about make a gui with a username and password?


Gui, Add, Edit, vusername, UserName
Gui, Add, Edit, password vpassword, Password
Gui, Add, Button, , OK
Gui, Show
username = x
password = y

Gui, Submit, NoHide

If username = x and if password = y then 
blah blah blah

and only you should know the username and password

just a simple auth so nobody will be able to use it besides you

and of course just change x and y to whatever you want

  • Guests
  • Last active:
  • Joined: --
I'm not interested in gui with a username and password.
So my question is: How to get processor ID? (Preferably in AHK_L unicode build)