Page 1 of 1

dynamically setting standalone setttings

Posted: Fri Feb 27, 2015 2:40 pm
by magice
This is a long shot, but is there a way to set standalone settings in a dynamically created stack? I find myself creating a certain style of stack repetitively. So, like all repetitive tasks I decided to create an app to automate the process. The app works perfectly in that all I have to do is open the created stack in LC to save it as a standalone. However, I still have to choose the windows platform, and navigate to my .ico file for the app icon. I have tried setting the standalone settings in the template stack, but they do not carry over when cloned. Is this possible?

Re: dynamically setting standalone setttings

Posted: Fri Feb 27, 2015 2:47 pm
by Klaus
Hi Magice,

all these infos are stored in a custom property set of the "standalone" stack named: cRevStandaloneSettings
I think the standalone buiding process will use this info!

1. Create a stack
2. Set some standalone settings for it
3. Check the custom property set "cRevStandaloneSettings" and its keys/values
You may need to check "LiveCode UI elements in lists" in menu "View" to see this CPSet.


Best

Klaus

Re: dynamically setting standalone setttings

Posted: Fri Feb 27, 2015 3:09 pm
by magice
Thank you Klaus. I believe I can work with that.

Re: dynamically setting standalone setttings

Posted: Fri Feb 27, 2015 4:43 pm
by dunbarx
And this is one of the most endearing aspects of LC.

Everything in LC is a stack. So though it was a very pleasant surprise to me that a custom property set contained all the pertinent information that Magice wished for, it should not have been a surprise at all. If that gadget is a stack, where else could such information be held except in some intrinsic and familiar feature of a stack.

Craig