I thought I share a little AHK script I made a while ago and use quite often. Perhaps someone finds it useful.
Usage:
Type something in twice, and it informs you if both entries are the same. If yes, the entry is copied to the clipboard.
That's it.
Compiled script and source attached to this forum entry. Enjoy.
Why I made it (if you're interested)At my workplace I've to install updates for a telephone software. They send a DVD and a letter with a really long serial number. The serial has to be entered once and there's no "serial is wrong" check. If the serial is wrong, the app continues to work for some time, but eventually starts telling "no data found" for every query. Yes, as silly as it sounds, but that's their idea of copy protection. To help myself, I typed in the serial twice in notepad and compared if I got it right.
As I had some time to kill I played with AHK and created this script. The idea is, that I wouldn't enter the same error twice. I use it to type in serial keys, TAN numbers, bank account numbers... just anything important, where's no margin for error.
The script is pretty basic. The #If Routine is the only AHK_L in there. The most advanced part of the script is the coloring of the fields. This routine isn't done by me. Proper credit is given in the source of course, but it demonstrates real nice that AHK was never intended as programming language and has to be forced to do such things.
Usage exampleLet's say, you got a list with 50 TAN codes for your bank account and want them imported in your password app like KeePass.
Enter the TAN codes in Simple Text Verifier, activate "Write Log". If typed in correct, it'll be saved in the log file. Press CTRL+L to open the log.
You've to enter every TAN twice, but at least you know it's 100%.
Edit: Script updated to v3Since I keep using this little script and missed some features, I updated it:
- I always liked the auto-hyphen if I type in Microsoft serials. Now the script can do the same.
- If there's a difference, it'll tell you where it is.
- Positive results can be written in a log file (easy collection of TAN numbers)
- Write chars upper-case and stay-on-top.