Modify

Opened 15 years ago

Closed 14 years ago

Last modified 14 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 by Jos, 15 years ago

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

Global $VERSION = FileGetVersion(@ScriptFullPath)

Jos

comment:2 by TicketCleanup, 15 years ago

Version: 3.3.6.1

Automatic ticket cleanup.

comment:3 by lwc, 15 years ago

But not for uncompiled scripts.

comment:4 by trancexx, 14 years ago

Resolution: Rejected
Status: newclosed

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 by lwc, 14 years ago

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

comment:6 by Valik, 14 years ago

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.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.