Gianni Posted September 25, 2013 Share Posted September 25, 2013 (edited) good morning, How can I read the version number of a compiled scipt from within the executable? the version number is automatically updated on each compile by the compiler. for example how can I do this statement work from within a compiled script (without writing the version number by myself of course)? MsgBox(0, "Version number", "Hello, I am executable with version nr v" & "???????") Thanks Edited September 25, 2013 by PincoPanco Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
michaelslamet Posted September 25, 2013 Share Posted September 25, 2013 FileGetVersion(@ScriptFullPath) Is that? Link to comment Share on other sites More sharing options...
Gianni Posted September 25, 2013 Author Share Posted September 25, 2013 hi michaelslamet thanks, but is not that. I need the version number of an exe compiled with autoit compiler. the one you set from SciTE Tools -> Compile -> Resource update -> file version -> Auto Increment Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
michaelslamet Posted September 25, 2013 Share Posted September 25, 2013 Hi PincoPanco, that one I cant help Link to comment Share on other sites More sharing options...
Gianni Posted September 25, 2013 Author Share Posted September 25, 2013 Hi PincoPanco, that one I cant help no problem, thanks anyway Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
Solution JohnOne Posted September 25, 2013 Solution Share Posted September 25, 2013 is it not... FileGetVersion("file.exe", "ProductVersion") AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Gianni Posted September 25, 2013 Author Share Posted September 25, 2013 is it not... FileGetVersion("file.exe", "ProductVersion") Yes!, That's what I was looking for used in this way within the compiled script: FileGetVersion(@AutoItExe) Thanks! Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now