stuka Posted April 1, 2007 Share Posted April 1, 2007 (edited) . Edited August 24, 2009 by stuka Link to comment Share on other sites More sharing options...
gamerman2360 Posted April 1, 2007 Share Posted April 1, 2007 http://web.archive.org/web/20020124061015/...resourcehacker/I can't seem to be able to reach the original website.. CompileAU3 that comes with Scite is able to change this stuff for you after compilation. Link to comment Share on other sites More sharing options...
Uten Posted April 1, 2007 Share Posted April 1, 2007 If you have the Scite4Autoit3 installation you can use the autoit3wrapper directives. You will find them in the Scite4Autoit4 helpfile. Go to the help menu to open it. From the help file: expandcollapse popup#Region Compiler directives section ;** This is a list of compiler directives used by AutoIt3Wrapper.exe. ;** comment the lines you don't need or else it will override the default settings #Compiler_Prompt=n ;y=show compile menu ;** AUTOIT3 settings #Compiler_AUTOIT3= ;Override the default Interpreter version. ;** AUT2EXE settings #Compiler_AUT2EXE= ;Override the default compiler with this version. #Compiler_Icon= ;Filename of the Ico file to use #Compiler_OutFile= ;Target exe/a3x filename. #Compiler_OutFile_Type=exe ;a3x=small AutoIt3 file; exe=Standalone executable(Default) #Compiler_Compression=2 ;Compression parameter 0-4 0=Low 2=normal 4=High #Compiler_Allow_Decompile=y ;y= allow decompile #Compiler_PassPhrase= ;Password to use for compilation #Compiler_UseUpx=y ;Compress output program works only for 3.1.1.110 and up. Default=Yes ;** Target program Resource info #Compiler_Res_Comment= ;Comment field #Compiler_Res_Description= ;Description field #Compiler_Res_Fileversion= ;File Version #Compiler_Res_FileVersion_AutoIncrement=y ;AutoIncrement FileVersion After Aut2EXE is finished. #Compiler_Res_LegalCopyright= ;Copyright field ; free form resource fields ... max 15 ; you can use the following variables: ; %AutoItVer% which will be replaced with the version of AutoIt3 ; %date% = PC date in short date format ; %longdate% = PC date in long date format ; %time% = PC timeformat #Compiler_Res_Field=AutoIt Version|%AutoItVer% #Compiler_Res_Field=Name|Value ;Free format fieldname|fieldvalue #Compiler_Res_Field=Name|Value ;Free format fieldname|fieldvalue #Compiler_Res_Field=Name|Value ;Free format fieldname|fieldvalue #Compiler_Res_Field=Name|Value ;Free format fieldname|fieldvalue ; AU3CHECK settings #Compiler_Run_AU3Check= ;(Y/N) Run au3check before compilation. Default=Y #Compiler_AU3Check_Parameters= ;Au3Check parameters #Compiler_AU3Check_Dat= ;Override the default au3check definition #Compiler_AU3Check_Stop_OnWarning= ;(Y/N) N=Continue on Warnings.(Default) Y=Always stop on Warnings #Compiler_AU3Check_Parameters= ;Au3Check parameters #Compiler_PlugIn_Funcs= ;Define PlugIn function names separated by a Comma to avoid AU3Check errors ; RUN BEFORE AND AFTER definitions ; The following directives can contain: ; %in% , %out%, %icon% which will be replaced by the fullpath\filename. ; %scriptdir% same as @ScriptDir and %scriptfile% = filename without extension. ; %fileversion% is the information from the #Compiler_Res_Fileversion directive ; %scitedir% will be replaced by the SciTE program directory #Compiler_Run_Before= ;process to run before compilation - you can have multiple records that will be processed in sequence #Compiler_Run_After= ;process to run After compilation - you can have multiple records that will be processed in sequence #Compiler_Run_cvsWrapper= ;(y/n) Run cvsWrapper to update the script source. Default=n #EndRegion Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
anixon Posted April 1, 2007 Share Posted April 1, 2007 If you have the Scite4Autoit3 installation you can use the autoit3wrapper directives. You will find them in the Scite4Autoit4 helpfile. Go to the help menu to open it. From the help file: expandcollapse popup#Region Compiler directives section ;** This is a list of compiler directives used by AutoIt3Wrapper.exe. ;** comment the lines you don't need or else it will override the default settings #Compiler_Prompt=n ;y=show compile menu ;** AUTOIT3 settings #Compiler_AUTOIT3= ;Override the default Interpreter version. ;** AUT2EXE settings #Compiler_AUT2EXE= ;Override the default compiler with this version. #Compiler_Icon= ;Filename of the Ico file to use #Compiler_OutFile= ;Target exe/a3x filename. #Compiler_OutFile_Type=exe ;a3x=small AutoIt3 file; exe=Standalone executable(Default) #Compiler_Compression=2 ;Compression parameter 0-4 0=Low 2=normal 4=High #Compiler_Allow_Decompile=y ;y= allow decompile #Compiler_PassPhrase= ;Password to use for compilation #Compiler_UseUpx=y ;Compress output program works only for 3.1.1.110 and up. Default=Yes ;** Target program Resource info #Compiler_Res_Comment= ;Comment field #Compiler_Res_Description= ;Description field #Compiler_Res_Fileversion= ;File Version #Compiler_Res_FileVersion_AutoIncrement=y ;AutoIncrement FileVersion After Aut2EXE is finished. #Compiler_Res_LegalCopyright= ;Copyright field ; free form resource fields ... max 15 ; you can use the following variables: ; %AutoItVer% which will be replaced with the version of AutoIt3 ; %date% = PC date in short date format ; %longdate% = PC date in long date format ; %time% = PC timeformat #Compiler_Res_Field=AutoIt Version|%AutoItVer% #Compiler_Res_Field=Name|Value ;Free format fieldname|fieldvalue #Compiler_Res_Field=Name|Value ;Free format fieldname|fieldvalue #Compiler_Res_Field=Name|Value ;Free format fieldname|fieldvalue #Compiler_Res_Field=Name|Value ;Free format fieldname|fieldvalue ; AU3CHECK settings #Compiler_Run_AU3Check= ;(Y/N) Run au3check before compilation. Default=Y #Compiler_AU3Check_Parameters= ;Au3Check parameters #Compiler_AU3Check_Dat= ;Override the default au3check definition #Compiler_AU3Check_Stop_OnWarning= ;(Y/N) N=Continue on Warnings.(Default) Y=Always stop on Warnings #Compiler_AU3Check_Parameters= ;Au3Check parameters #Compiler_PlugIn_Funcs= ;Define PlugIn function names separated by a Comma to avoid AU3Check errors ; RUN BEFORE AND AFTER definitions ; The following directives can contain: ; %in% , %out%, %icon% which will be replaced by the fullpath\filename. ; %scriptdir% same as @ScriptDir and %scriptfile% = filename without extension. ; %fileversion% is the information from the #Compiler_Res_Fileversion directive ; %scitedir% will be replaced by the SciTE program directory #Compiler_Run_Before= ;process to run before compilation - you can have multiple records that will be processed in sequence #Compiler_Run_After= ;process to run After compilation - you can have multiple records that will be processed in sequence #Compiler_Run_cvsWrapper= ;(y/n) Run cvsWrapper to update the script source. Default=n #EndRegion Thanks for helping the requestor with that information which I can confirm works a treat even down to being able to change the ICO associated with the application. Makes an end product look truly professional. AutoIT never ceases to amaze me with its functionality. Cheers Ant.. 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