Blue_Drache Posted January 25, 2005 Posted January 25, 2005 Ok, I've figured out that I can control the AutoIt Compiler (Ctrl-F7) included within SciTE from inside the program with the #Region - Compiler Directives #Compiler_Prompt = y #Compiler_AUT2EXE = C:\AutoIt\Aut2Exe\Aut2Exe.exe #Compiler_Icon = C:\Icons\StarWars\AT ST.ico ; Target: C:\AutoIt\User Scripts\Compiled Scripts\Closer.exe #Compiler_Compression = 4 #Compiler_Allow_Decompile = y #Compiler_PassPhrase = #Compiler_Res_Fileversion = 0.0.0.9 #Compiler_Res_Description = Startup Script #Compiler_Res_LegalCopyright = #Compiler_Res_Comment = Created by me #Compiler_Res_Field1Name = Platform #Compiler_Res_Field1Value = 9x, NT #Compiler_Res_Field2Name = Autoit version #Compiler_res_Field2Value = 1.0.103 #Compiler_Run_AU3Check = n #Compiler_Run_Before = #Compiler_Run_After = #EndRegion But what I'd like to add to is is the ability to put the target in a #Compiler_Target directive, but it throws an "invalid compiler directive" error. Is there someone to talk to so this could be added as a field to populate with a #variable, and still be an editable (white) field? Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
this-is-me Posted January 25, 2005 Posted January 25, 2005 Best thing to do is to use #Compiler_Run_After and do a "copy scriptname destination". Who else would I be?
MHz Posted January 25, 2005 Posted January 25, 2005 Like this-is-me says example: #Compiler_Run_After = move "%out%" "C:\Compiled"
LoWang Posted December 4, 2006 Posted December 4, 2006 It does not work for me! Should this code be in the beginning of the script or somewhere else? I compile it with CTRL+F7 and it has no such fields in the version in the properties of the file... #Compiler_Icon field means the icon for the new executable?
PaulIA Posted December 4, 2006 Posted December 4, 2006 It does not work for me! Should this code be in the beginning of the script or somewhere else? I compile it with CTRL+F7 and it has no such fields in the version in the properties of the file... #Compiler_Icon field means the icon for the new executable?Don't you think after two years that some things might have changed? Auto3Lib: A library of over 1200 functions for AutoIt
LoWang Posted December 7, 2006 Posted December 7, 2006 Don't you think after two years that some things might have changed?OK, so something may have changed, so do you know some workaround for this or not?
MHz Posted December 7, 2006 Posted December 7, 2006 The Scite4AutoIt3 Help file may have information to use of the directives. The compiler directives are used with AutoIt3Wrapper as can be viewed here. There ia also an example file in AutoIt3Wrapper's directory that has the latest directives list.All of those directives are still used today, except the field options are now split on one line i.e. ...=name|value. Check the help file for more information.
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