Jump to content

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


Recommended Posts

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

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

Link to comment
Share on other sites

  • Developers

 

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...