AutoIt3Wrapper is a Wrapper application for AutoIt3 and
Aut2Exe
Compile
an AutoIt3 script:
AutoIt3Wrapper
is an AutoIt3/AUT2EXE wrapper program that can compile your script with
all settings as save in an INI file or defined in your Script source
with Compiler
Directives,
update the Resource information like Comment, Description, Legal
Copyright and Program version of the target executable. It's is now also
used to enable you to: AU3Check and/or Run an Autoit3 script with the
latest Production or Beta version.
AutoIt3Wrapper will perform the following tasks
for you when wrapping Aut2Exe (Compile):
- Read the command line options which are supported by
aut2exe.
- Read any info from the Scriptname.Ini
file as defaults if its available.
- Read the input script searching for compiler directives. If
found, it will override any other setting.
- Run program(s) defined by the Run_Before directive(s).
- Run
Tylo's AU3Check program (Optional) to verify the script. When errors
are encountered you will be prompted if you want to continue or stop
the compile process.
- Run Tidy (Optional) at Run and Compilation time.
- Run Obfuscator (Optional) after the Obfuscated source will
also be checked by AU3Check.
- Run aut2exe.exe, return code reported to console.
- Updated the program resources like Version, Copyrights,
comments and adding files like extra ICO's.
- Run UPX when requested.
- Run program(s) defined by the Run_After directive(s).
AutoIt3Wrapper will perform the following tasks
for you when wrapping AutoIt3 (Run):
- Run
Tylo's AU3Check program (Optional) to verify the script. When errors
are encountered you will be prompted if you want to continue or stop
the compile process.
- Run AutoIt3.exe with your script source, return code
reported to console.
To
set the defaults for the different functions you can copy
AutoIt3Wrapper.ini.example to AutoIt3Wrapper.ini and make the changes
you like for defaults for all options.
Using the Compiler Directives.
You can define the Compiler Directives in your script and have
AutoIt3Wrapper.exe compile it with these settings:
Adding
Extra Ico's to the program resources.
Example adding additional Icons to the Program resources
and using it in
your script.
To test, compile the below script and run the
exe:
Adding RT_STRING
to the program resources.
Example adding an RT_STRING
to the Program resources.
Create the following INI file:
# string ID = WORD (16 bits): # first 4 bits = string index in the block, 0-15 # top 12 bits = block ID - 1 # blocks must start at 1, so top 12 bits equal to 0 is block 1 # # the section heading is the language to update # be aware that AutoIt uses several string blocks in the UK language 2057 for built-in strings # [0] 0=first string in first block 1=second string in first block 15=last string in first block 32=first string in third block 33=second string in third block
[2057] 0=this is UK string 1 1=this is UK string 2
|
.
-end-