Batch Posted June 28, 2004 Posted June 28, 2004 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.
ezzetabi Posted June 28, 2004 Posted June 28, 2004 Good! :cheers: Extremly easy but still a good idea. All that codes without - were confusing me
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now