Jump to content

Recommended Posts

Posted

How do I get the version number of my script.  The output below is always 0.0.0.0, same even after I compiled it.

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=p
#AutoIt3Wrapper_Res_Language=1033
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

MsgBox(0,"",FileGetVersion(@ScriptFullPath))
Posted

Try to use pragma directive.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

That should work (but ONLY when compiled, of course). What's the rest of the code?

;o) Cor

Edited by corz

nothing is foolproof to the sufficiently talented fool..

Posted (edited)

That is all the code.  

  On 7/9/2014 at 6:37 PM, mLipok said:

Try to use pragma directive.

 

What is pragma directive, and how do I use it?

The Autoit version I'm using is 3.3.10.2.

I compile it using ctrl+F7, then goto Resource Update tab, and enter the version number.  Is this the correct way of doing it?

MsgBox(0,"",FileGetVersion(@ScriptFullPath,"FileVersion")) gives me nothing.

Edited by l4tran

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
  • Recently Browsing   0 members

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