Okay, I created an AutoHotkey script for you, quoted and attached below. It's a pretty cool program and I'm glad I discovered it. ; Xog's Script by Blocks
#InstallKeybdHook
; Run the macro on either an "f" or "t" from the barcode scanner.
f::
t::
; Capture the input, terminated by a newline or Enter.
Input Barcode, ,`n{Enter}
; Prepend the leading zeroes.
while StrLen(Barcode) < 10
{
Barcode := % "0" . Barcode
}
; Type out the new barcode followed by an Enter.
SendInput %Barcode%{Enter}
When it's running, all you can do is scan barcodes, unless you avoid use of the "f" and "t" keys. If you want, you can modify it so it's only activated by some other keypress. Run it by downloading AutoHotkey and loading the AHK file in the ZIP archive attached. Or you can use the executable also in the ZIP file if you trust me. Xog\'s Script.zip