KeyCode

This program is used to enter the license or Keycode for activation of a software program. 
Current version is 2.1

This is mostly designed for IT Admins to need to install programs that needs a license activation code.



Installation 

There is no installation of this tool,Download the .ZIP file and extract the .EXE file. 
Copy the file to pay share on the server, or a some drive to carry around with you. 
The first time to run the program it will create the .DLL file that it needs, as well as the .INI configuration file, Both files will be in the same directory that they .EXE executable is ran from.

The Display is as follows:


This is the main screen. This is displaying all the applications   

Main View Application Section

This is the application name as it is in the INI file. The format in the INI file is This can be in any easy readable format. This is used as a INI Section and so you can tell which version of office or any other program you are trying to set up.

Main View Window Title

This is the title of the windows application. This must match the title of the window exactly. Or review the section on Window names, and Partial Windows Names.

Main View KeyCode

This is the license code that is entered into the application, During the license authentication process. Please review the cursor movement commands for this KeyCode Things like {up} {down} {enter} and {tab}.

Main View Send Button

Send the selected KeyCode to the application at the location of the cursor. 

Main View To ClipBoard

Copy the KEY to the ClipBoard, If the App is active on the computer, then change the focus to that App.

Main View Add New App Button

This will show you a list of the current running applications on your computer(Many of them you will note is hidden from view). Select one. Then you will be asked to enter the code. Using the selected running application, And the code you entered, the system will make a new entry in the INI file for you.

Main View Edit App Button

Select an application from the list then, click on this button to edit any of the information for that application. (See the edit application screen for more information). 

Main View  Remove App Button

Select an application from the list then, click on this button, This remove the app from the INI file.

Main View Debug

This will periodically send a message showing the user with the program is about to do. This of course is mostly for development purposes as well as troubleshooting.


Main View Log

This is to turn on logging function. This will create CSV file in the same directory that the executable program is With the Application Section name, date and time, Windows Title, and Keycode. You may find this useful if you need to track how often you've used a key code, and on which computer.


Main View HELP Button

This will send you to this webpage, so you can read this documentation.

The format in the INI file is:

[Application Name]
This is the section in the INI for this application.  The format in the INI file is This can be in any easy readable format. This is used as a INI Section and so you can tell which Application we are authenticating. You can make this any text you need so that you can identify the application for yourself. 
AppName=~Notepad  This is the Title of the window.  Tilde (~) with Notepad Means that if the word Notepad is anywhere in the title. This program will pass the code to that window.  See the Window Name and Partial Windows Names
Key=1QAZXSW2{TAB}76543 The key code. See the cursor movement commands section.
Log=Yes  This is optional and can activate love you whenever this keycode is used



Window names, and Partial Windows Names.

There are a total of four distinct ways to define a partial window name. Decide which option is best for your particular needs.

Window Name

A partial windowname can be the first few defining characters of a window title. For example, WinShow("Notepad") would match any window whose title begins with "Notepad".

Exact Match

Those WIL functions which take a partial windowname as a parameter can be directed to accept only an exact match by ending the window name with a tilde (~).
A tilde (~) used as the last character of the window name indicates that the name must match the window title through to the end of the title. For example, WinShow("Note~") would only match a window whose title was "Note"; it would not match "Notepad".

Match Any Window

A tilde (~) used as the first character of the window name, will match any window containing the specified string anywhere in its title. For example, WinShow("~Notepad") will match a window title of "(Untitled) - Notepad" and a window title of "My Notepad Application", as well as a window title of "Notepad - (Untitled)".

Window Name Ends With…

A tilde (~) used as the first and last character of the window name, will match any window containing the specified string anywhere in its title, except at the beginning. For example, WinShow("~Notepad~") will match a window title of "Notepad" and a window title of "(Untitled) -Notepad", but will not match a window title of "Notepad - (Untitled)".  
 

Cursor Movement Commands

In most applications these days just entering the text automatically moves you to the next area in the screen looking for the keycode. However on some older programs you either have to click with the mouse to navigate there or use a special key like tab. The following are all the special keys that this system understands, and what you need to do to enter them.
NOTE: These movement commands will NOT work if you are using the To Clipboard button. 


 KEY COMMAND 
Alt {ALT}
Backspace {BACKSPACE} or {BS}
Clear {CLEAR}
Ctrl-Break {CANCEL}
Delete {DELETE} or {DEL}
Down Arrow {DOWN}
End {END}
Enter {ENTER} or ~
Escape {ESCAPE} or {ESC}
F1 through F16 {F1} through {F16}
Help {HELP}
Home {HOME}
Insert {INSERT} or {INS}
Left Arrow {LEFT}
Page Down {PGDN}
Page Up {PGUP}
Pause {PAUSE}
Right Arrow {RIGHT}
Space {SPACE} or {SP}
Tab {TAB}
Up Arrow {UP}
 !{!}
 ~{~}
 ^{^}
 +{+}
 Alt!   "!fs" = Alt-f s or File->Save
Control ^  
Shift 


To enter Alt-f-s, use "!fs"
To enter Ctrl-Shift-F7, use "^+{F7}" 

Note: You should use lower-case letters to represent Alt-key combinations and other menu shortcut keys.
    and without the QUOTES 


You may also repeat a key by enclosing it in braces, followed by a space and the total number of repetitions desired.

To type 20 asterisks use "{* 20}"
To move the cursor down 8 lines use "{DOWN 8}"

Note: without the quotes 

Edit App


This is Edit Application screen.


Edit Screen Application FIELD

This is the section in the INI for this application.  The format in the INI file is This can be in any easy readable format. This is used as a INI Section and so you can tell which Application we are authenticating. You can make this any text you need so that you can identify the application for yourself. 

Edit Screen Windows Name FIELD

This is the Title of the window that is asking for the Authentication Key.  Note that in this example the field is set to "~Notepad". Tilde (~) with Notepad Means that if the word Notepad is anywhere in the title. This program will pass the code to that window.  See the section on Windows Names and Partial Windows Names.

Edit Screen Application Key FIELD

This is the key code. Any number and or text Needed to authenticate the program. Along with entering a keycode you may find it necessary to move the cursor around the screen to different fields. This system supports cursor movement commands,  see the cursor movement commands section.

Edit Screen Current running Application list

This is a list of the current running applications. As a method to ease the editing of a application, clicking on one of the current application copies the applications name into the application field and the Windows Name field

Edit Screen Log the process for this Application CHECKBOX

You may find it necessary to log the process for just some particular applications. You can accomplish that by checking the log process in this section.

Edit Screen Save && Send BUTTON

Save the fields to the INI file, and then process and send to key to the application.

Edit Screen Save Only BUTTON

Save the fields to the INI file only, Do not process and send the key to the appliction.
If you change the any field, Including the section field, these fields are changed in the INI. 

Edit Screen Save AS BUTTON

Save application in the INI as a copy of the Original application. However you should edit the Application Name. If do not change the Application Name the system will change the Application Name to [Copy Original name]

Download