>=20
> Date: Fri, 9 May 2025 17:13:34 +0000
> From: Bob Sneidar <bobsnei...@iotecdigital.com>
> To: How to use LiveCode <use-livecode@lists.runrev.com>
> Subject: Standalone Version
> Message-ID: <fa532007-cee0-477a-9ca5-6247be158...@iotecdigital.com>
> Content-Type: text/plain; charset=3D"utf-8"
>=20
> Hi all.=20
>=20
> 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=E2=80=99s done, but I can=E2=80=99t find a =
function for that.=20
>=20
> Bob S
>=20

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=20


Here is a reference to the available settings: =
https://forums.livecode.com/viewtopic.php?t=3D19253

=E2=80=94Andrew Bell=

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to