Page 1 of 1

scriptOnly property for stacks

Posted: Sat Aug 15, 2015 5:58 am
by monte
Howdy

How do you feel about a scriptOnly property for stacks?

Use cases are for standalone builder turn them into regular stacks for password protection and for plugins and the IDE that may want to treat script only stacks differently. In my case I'd like my git ide integration stuff to just use the file path to determine if it is under version control and present diffs etc instead of working out if it's in a lcVCS managed project.

So I guess for the standalone builder it might be nice to:

Code: Select all

set the scriptOnly of stack "foo" to false
set the password of stack "foo" to "bar"
BTW `create script only stack "foo"` appears to be undocumented.

Cheers

Monte

Re: scriptOnly property for stacks

Posted: Mon Aug 31, 2015 10:16 pm
by monte
I just went ahead and submitted a PR for this:

https://github.com/runrev/livecode/pull/2800

Re: scriptOnly property for stacks

Posted: Wed Sep 09, 2015 10:34 am
by LCMark
Just to let people know - this has been merged for 8DP5.