Jump to content
Sign in to follow this  

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

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

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

Share this post

Link to post
Share on other sites

Good! :cheers:

Extremly easy but still a good idea. All that codes without - were confusing me :D

Share this post

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

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.