Re: Getting a version number

2014-10-13 Thread J. Landman Gay
On 10/13/2014, 2:40 PM, Magicgate Software - Skip Kimpel wrote: Is there a way to programmatically, via LC, to retrieve the current standalone "file version number" and "product version number" as stated in the standalone settings? I cheat. Every standalone I build has a custom stack property n

Getting a version number

2014-10-13 Thread mfstuart
Hi Skip, Here's and example of putting together the product info of your application from the stack: put the cRevStandaloneSettings["name"] of this stack into tStandaloneName put the cRevStandaloneSettings["Windows,ProductName"] of this stack into tProdName put the cRevStandaloneSettin

Re: Getting a version number

2014-10-13 Thread Roger Eller
There's a mixed bag of tricks that you can use shell() to get at. This one gets the file version: Needs two back slashes between folders. *wmic datafile where name='c:\\path\\to\\executable\\LC_Standalone.exe' get version* Source: http://www.winplat.net/post/2009/09/24/How-to-check-file-propert

Re: Getting a version number

2014-10-13 Thread Magicgate Software - Skip Kimpel
I thought I was missing something but it looks like this is a challenge. Just for clarification purposes, it a standalone for Windows. Having said that I am really surprised that there is not a script call of some sort to retrieve this information. Hopefully there is an undocumented function that

Re: Getting a version number

2014-10-13 Thread Bob Sneidar
On OS X use mdls -name kMDItemVersion /Applications/ (if you are using Spotlight to index files, which unless you have explicitly disabled the feature, you are). On Windows it looks like you need to install add-on software. There may be a javascript command that will work, which you can run fr

Re: Getting a version number

2014-10-13 Thread Roger Eller
I answered too quickly. The version is not what you're after. Sorry. On Mon, Oct 13, 2014 at 3:57 PM, Roger Eller wrote: > If you haven't built the standalone yet, include a button with the > following: > > answer "Built with LiveCode version" && the version & "." > > If the standalone is al

Re: Getting a version number

2014-10-13 Thread Roger Eller
If you haven't built the standalone yet, include a button with the following: answer "Built with LiveCode version" && the version & "." If the standalone is already built, but it opens a .livecode stack, then add a button to the stack. ~Roger On Mon, Oct 13, 2014 at 3:40 PM, Magicgate Software

Re: Getting a version number

2014-10-13 Thread Dave Kilroy
ave stack tStack > end savingMobileStandalone - "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Getting-a-version-numb

Getting a version number

2014-10-13 Thread Magicgate Software - Skip Kimpel
Is there a way to programmatically, via LC, to retrieve the current standalone "file version number" and "product version number" as stated in the standalone settings? Thank you, SKIP KIMPEL ___ use-livecode mailing list use-livecode@lists.runrev.com Pl