Chamlien Posted August 21, 2014 Share Posted August 21, 2014 The new script contains these info: #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.12.0 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- and my simple question is how to add the version and author information in the latest version of editor, so that the exe compiled can be shown the version and author information. I'am green hand, and I am looking for the help file but can't get my answer. Link to comment Share on other sites More sharing options...
Exit Posted August 21, 2014 Share Posted August 21, 2014 Search #pragma in the help file santoshM 1 App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Chamlien Posted August 21, 2014 Author Share Posted August 21, 2014 Search #pragma in the help file Thanks, i got it #pragma compile(ExecLevel, highestavailable) #pragma compile(Compatibility, win7) #pragma compile(UPX, False) #pragma compile(FileDescription, myProg - a description of the application) #pragma compile(ProductName, myProg) #pragma compile(ProductVersion, 3.7) #pragma compile(FileVersion, 3.7.0.0, 3.7.100.201) ; The last parameter is optional. #pragma compile(LegalCopyright, © Joe Bloggs) #pragma compile(LegalTrademarks, '"Trademark something, and some text in "quotes" etc...') #pragma compile(CompanyName, 'Joe Bloggs & Co') santoshM 1 Link to comment Share on other sites More sharing options...
Developers Jos Posted August 21, 2014 Developers Share Posted August 21, 2014 and my simple question is how to add the version and author information in the latest version of editor, You have now 2 options, AUT2EXE has now build-in #PRAGMA directive but the #AutoIt3Wrapper directives should still work as before. 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...
Chamlien Posted August 21, 2014 Author Share Posted August 21, 2014 You have now 2 options, AUT2EXE has now build-in #PRAGMA directive but the #AutoIt3Wrapper directives should still work as before. Jos Yes, #AutoIt3Wrapper directives still work as befor, but the exe built by it can't avoid the detection of the virus in the Wed http://r.virscan.org, so i choose #PRAGMA. Many thanks to you. Chamlien 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