Modify

Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#1927 closed Feature Request (Rejected)

Add a macro for #AutoIt3Wrapper_Res_Fileversion / %fileversion%

Reported by: lwc Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: AutoIt3Wrapper_Res_Fileversion, fileversion, macro Cc:

Description

Without it, I have to set both #AutoIt3Wrapper_Res_Fileversion and an internal variable (e.g. $version).

It would great to be able to only have one source for the version (e.g. @fileversion).

Thanks!

Attachments (0)

Change History (6)

comment:1 Changed 14 years ago by Jos

For compiled script its pretty easy as I also did in AutoIt3Wrapper:

Global $VERSION = FileGetVersion(@ScriptFullPath)

Jos

comment:2 Changed 14 years ago by TicketCleanup

  • Version 3.3.6.1 deleted

Automatic ticket cleanup.

comment:3 Changed 14 years ago by lwc

But not for uncompiled scripts.

comment:4 Changed 13 years ago by trancexx

  • Resolution set to Rejected
  • Status changed from new to closed

This make no sense. It's either trivial for user to implement or it's not explained properly. Last comment suggests RCS.

Either way closed as rejected.

comment:5 Changed 13 years ago by lwc

What's RC5? The point is Jos' solution doesn't work for uncompiled scripts (his solution just displays "0.0.0.0").

comment:6 Changed 13 years ago by Valik

Where exactly do you suggest the version number be pulled from in a non-compiled script? It either must be stored internally as a variable inside the script itself or externally in a file. It cannot be stored in the binary itself because there is no binary for the script, only the interpreter. It should be a moot point as you shouldn't be distributing non-compiled scripts which means this should be a debugging-only quirk.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.