Jump to content
Sign in to follow this  
Chamlien

How to add the version information in the latest version of editor?

Recommended Posts

Chamlien

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.

Share this post


Link to post
Share on other sites
Chamlien

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')

  • Like 1

Share this post


Link to post
Share on other sites
Jos

 

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


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Chamlien

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×