Sign in to follow this  
Followers 0
iHonda

Really Easy Question..i Hope

4 posts in this topic

ok ive made me a script yes its another 1 of my noob scripts but thats not wut im here for i would like to know if its possible to make like keyfile for a program so that the program wont run unless the keyfile is there. kind of like games that need a cdkey or something


A great place to start Autoit 1-2-3

Share this post


Link to post
Share on other sites



ok ive made me a script yes its another 1 of my noob scripts but thats not wut im here for i would like to know if its possible to make like keyfile for a program so that the program wont run unless the keyfile is there. kind of like games that need a cdkey or something

HI,

maybe have a look at. http://www.autoitscript.com/forum/index.ph...=23282&hl=trial

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

something like this:

Func _CheckKeyFile()
    $F = FileOpen("keyfile", 0)
    $Key = FileRead($F)
    If $Key = "YourKeyHere" Then
        _MainSoftwareCode()
    Else
        MsgBox(0, "Error", "You do not have a proper key!")
    EndIf
EndFunc

or their are ways to 'hide it' in the registry, like in the link that th.meger posted above...

Edited by CHRIS95219

Share this post


Link to post
Share on other sites

$checkauth = Inputbox('Enter Key','Enter Your Key to unlock this program')
if $checkauth <> 'password' Then
     Msgbox(0,'Error!','Wrong Password Entered')
Exit
Endif

Try That.


[size=20]My File Upload[/size]Register at my site and upload.

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  
Followers 0