Jump to content

Really Easy Question..i Hope


Recommended Posts

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

Link to comment
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

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...