Sign in to follow this  
Followers 0
aslani

Aut2exe.exe

6 posts in this topic

I want to know that if I convert my .au3 into an .exe, what's actually being compiled?

Example:

If my code has this;

#include Array.au3
...
_ArrayDisplay($aVar)

Then if I ran Aut2Exe.exe, does it include the whole Array.au3 file into my .exe, or just the functions that I called from Array.au3?

Thanks in advance.


[font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version

Share this post


Link to post
Share on other sites



If you add this at top of your script then only used functions/global constants will be added:

#AutoIt3Wrapper_Run_Obfuscator=y
#obfuscator_parameters=/striponly

You must compile it from full Scite4AutoIt3.

Share this post


Link to post
Share on other sites

The whole file is inserted at the spot where the #include statement is located.

Jos

Thanks, that's what I'm afraid of.

If you add this at top of your script then only used functions/global constants will be added:

#AutoIt3Wrapper_Run_Obfuscator=y
#obfuscator_parameters=/striponly

You must compile it from full Scite4AutoIt3.

Oh, cool. Thanks. :)

Follow up question. Does this method works also for Constants?

Example:

#include <ButtonConstants.au3>
...
$button = GuiCtrlCreateButton("Start", $offset_1, $row1, 95, 25, $BS_CENTER)

[font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version

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