Page 1 of 1
Can enigma support autoit and autohotkey?
Posted: Wed Apr 14, 2010 5:39 pm
by newuser
The title state it all. If yes, how's it done?
A little tutorial or example would be fine.
Thanks.

Re: Can enigma support autoit and autohotkey?
Posted: Thu Apr 15, 2010 8:37 am
by Enigma
Hi, yes, it is possible, steps are very simple:
- download attached upx.zip (unzip it) - it is UPX packer, autoit files protected with this
- then just run the command to unpack your file "upx.exe -d yourfile.exe", you will get yourfile.exe unpacked, it will be in about 2 times larger than original
- then protected yourfile.exe with Enigma Protector with any kind of options!
Also, autoit files has some specific. To improve protection I advise to use Virtual Box (if necessary) and more helpful advice - use different kind of Enigma API in the scripts (it is possible). I do not know, if it is possible to call external libraries from autoit scripts? If yes, then you are lucky and you may use Enigma API.
If you provide me information how to call external dll from script I will tell you how to call Enigma API. But the common advice - load library 'enigma_ide.dll' and then call Enigma API.
Re: Can enigma support autoit and autohotkey?
Posted: Thu Apr 15, 2010 8:39 am
by Enigma
Script syntax is very similar to Visual Basic, look at the "Enigma Protector\EnigmaSDK\VB" folder "enigma_ide.bas" file, there are definitions of Enigma API for Visual Basic, maybe it also could be supported by autoit!
Edited:
For example, this is only my thoughts, to call a Enigma API function you may use the following code
Code: Select all
DllCall("enigma_ide.dll", "int", "EP_RegLoadAndCheckKey");
if this call return non zero, then the program is registered. Do not forget that Enigma API will work only after you protect the file.
Syntax is more like to Opus... seems.
Re: Can enigma support autoit and autohotkey?
Posted: Thu Apr 15, 2010 8:57 am
by prasid
This is awesome news for ALL
AutoIt Developers.
AutoIt Home:
http://www.autoitscript.com/
Re: Can enigma support autoit and autohotkey?
Posted: Fri Aug 09, 2013 3:19 pm
by heopas
Correct way:
Code: Select all
Local $checkKey = DllCall("enigma_ide.dll", "int", "EP_RegLoadAndCheckKey")
If $checkKey[0] <> 1 Then
Exit
EndIf