Standalone Version
Andrew at MWCM
andrew at midwestcoastmedia.com
Wed May 14 09:36:01 EDT 2025
>
> Date: Fri, 9 May 2025 17:13:34 +0000
> From: Bob Sneidar <bobsneidar at iotecdigital.com>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Subject: Standalone Version
> Message-ID: <FA532007-CEE0-477A-9CA5-6247BE158931 at iotecdigital.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi all.
>
> This has probably been asked before. I have a request to include the standalone version of an application in the About splash screen. I would like to access the value from the Standalone Settings, either when building the app or after it’s done, but I can’t find a function for that.
>
> Bob S
>
You are referencing the cRevStandaloneSettings. Here is a preOpenStack snippet that I use in a project:
switch the platform
case "iphone"
put ("IU McKinney CLE app v" & the cRevStandaloneSettings["ios,bundle version"] of this stack) into field "versionField" of card "splash"
break
case "Win32"
put ("IU McKinney CLE app v" & the cRevStandaloneSettings["Windows,productversion1"] of this stack) into field "versionField" of card "splash"
break
case "MacOS"
put ("IU McKinney CLE app v" & the cRevStandaloneSettings["OSX,shortVersion"] of this stack) into field "versionField" of card "splash"
break
end switch
Here is a reference to the available settings: https://forums.livecode.com/viewtopic.php?t=19253
—Andrew Bell
More information about the use-livecode
mailing list