MilesAhead Posted December 10, 2012 Posted December 10, 2012 (edited) I'm trying to set up a few defaults using AutoIt3Wrapper.ini. But if the option isn't already in the exmple, it's guess work. The main thing I want to do is have it store the constants in the script by default. I've tried Add_Constants=1 in all the sections. When I bring up the compile from a dummy script with no directtives, the box is never checked. However the Copyright is filled in, file version, Upx is unchecked etc... so it's seeing the .ini file. Is there a definitive list how the options look in the ini file and where to put them? this is what I'm using at the moment expandcollapse popup' This INI sets the Defaults for AutoIt3Wrapper which can be overridden by the Compiler Directives ' Use 1 for Yes and 0 for No on options like Allow_Decompile,UseUPX and UseAnsi ' See documentation for an explanation on purpose of the fields and their values ' AutoIt section for aut2exe and AutoIt3 [Autoit] aut2exe= Icon= OutfileType= Compression= PassPhrase= Allow_Decompile= UseUpx=0 UseAnsi= Add_Constants=1 ' Resource update section [Res] Language= Comment= Description= Fileversion=1.0.0.0 LegalCopyright=2012 www.favessoft.com Field1Name= Field1Value= Field2Name= Field2Value= [Other] Run_AU3Check=1 AU3Check_Stop_OnWarning= AU3Check_Parameter=-w 3 Run_Before= Run_After= [Config] ResHackerPath= RCExePath= Edited December 10, 2012 by MilesAhead My Freeware Page
Developers Jos Posted December 10, 2012 Developers Posted December 10, 2012 There is no support for it in the INI files. I have stopped adding support for option to AutoIt3Wrapper and assume people will be using the #AutoIt3Wrapper_* directives. Only left the current supported options for the INI files for backwards compatibility. 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.
MilesAhead Posted December 10, 2012 Author Posted December 10, 2012 I see. I'll just add the options to template file. My Freeware Page
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