Getting a version number

mfstuart at cox.net mfstuart at cox.net
Mon Oct 13 17:14:11 EDT 2014


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 cRevStandaloneSettings["Windows,productversion1"] of this stack into tVerMajor
   put the cRevStandaloneSettings["Windows,productversion2"] of this stack into tVerMinor
   put the cRevStandaloneSettings["Windows,productversion3"] of this stack into tVerBuild
   put tVerMajor & "." & tVerMinor & "." & tVerBuild into tProdVersion
   
   put "Standalone Name" & tab & tStandaloneName & cr into tInfo
   put "Product Name" & tab & tProdName & cr after tInfo
   put "Version" & tab & tProdVersion after tInfo
   put tInfo into fld "ProductInfo"


Here are all the properties that I know of concerning the properties of your application:
android
answerDialog
askDialog
cursors
defaultBuildFolder
inclusions
ios
ios,ipad intial orientations
Linux
Linux x64
MacOSX
MacOSX PowerPC-32
MacOSX x86-32
name
OSX,copyright
OSX,documentExtension
OSX,documentType
OSX,identifier
OSX,info
OSX,longVersion
OSX,name
OSX,shortVersion
OSX,signature
scriptLibraries
Solaris Intel
Solaris SPARC
UNIX,colorChooser
UNIX,fileSelector
UNIX,pageSetup
UNIX,printerChooser
Windows
Windows,companyname
Windows,documenticonFile
Windows,FileDescription
Windows,fileversion1
Windows,fileversion2
Windows,fileversion3
Windows,fileversion4
Windows,iconFile
Windows,LegalCopyright
Windows,ProductName
Windows,productversion1
Windows,productversion2
Windows,productversion3
Windows,productversion4
Windows,UUID


HTH,
Mark Stuart





More information about the use-livecode mailing list