Jump to content

Filling in the cdkey


Recommended Posts

I do a lot of software installs, and like most of you probably, I typically copy the CD over to a network share and create a cdkey.txt or a serial.txt to make it convenient next time I do an install. However, when you actually go to do the install, you typically can't copy and paste from your text file, it will only fill the first box and then stop. Here's a quick solution:

HotKeySet( "^d", "plug" )

While 1
Wend

Func plug()
$cdkey = ClipGet()
$cdkey = StringReplace( $cdkey, "-", "" )
Send( $cdkey )
exit
EndFunc

Not complicated in the least, but I think now that I've created this I will use it very often, thought you might too.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...