aslani Posted June 27, 2008 Share Posted June 27, 2008 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 Link to comment Share on other sites More sharing options...
Developers Jos Posted June 27, 2008 Developers Share Posted June 27, 2008 The whole file is inserted at the spot where the #include statement is located. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Zedna Posted June 27, 2008 Share Posted June 27, 2008 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. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
aslani Posted June 27, 2008 Author Share Posted June 27, 2008 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 Link to comment Share on other sites More sharing options...
Zedna Posted June 27, 2008 Share Posted June 27, 2008 Follow up question. Does this method works also for Constants?Yes. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
aslani Posted June 27, 2008 Author Share Posted June 27, 2008 Yes.Sweet!!! Thanks. [font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now