1.

Solve : Pasting Serial Key?

Answer»

i install programs in windows all day

most annoying part is copying and pasting the serial key

i was wondering if i can create a batch file that would automaticly paste the key in for me

anyone any ideas for me a TOTAL noob Quick answer: No.
I'm afraid you cannot have a batch file TYPE anything for you.

Anyways, why create a batch file when it's more work than just typing the cd keys.
thanks for fast reply

when u have to copy and paste 1234, then copy and paste 4321 and then copy and paste abcd all day long

u go insane!!!

IVE seen it done when a keygen automaticly pastes the serial in for u

just wondering how its done this little snippet demo opens up cmd prompt and does a dir and exit using sendkeys
Code: [SELECT]Option Explicit

Dim objShell, WshShell
set objShell = CreateObject("WScript.Shell")
objShell.Run("cmd")
WScript.Sleep 500
objShell.SendKeys "dir"
objShell.SendKeys "{Enter}"
WScript.Sleep 3500
objShell.SendKeys "Exit"
objShell.SendKeys "{Enter}"

WScript.Quit

you can adapt to your programQuote from: The Johny on August 24, 2007, 08:57:17 AM

when u have to copy and paste 1234, then copy and paste 4321 and then copy and paste abcd all day long

u go insane!!!

Get a better job.

PS Johnny has 2 letter 'n's



Discussion

No Comment Found