copying from password protected substacks

Dr. Hawkins dochawk at gmail.com
Sat Apr 11 20:10:05 EDT 2015


On Sat, Apr 11, 2015 at 3:59 PM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:

> You can't copy controls from password protected stacks, because that would
> allow you to paste controls on unprotected stacks and read the scripts.
>

Thanks.  But this will make life *much* more difficult.  Can I copy from
the protected stacks *to* another stack from a script within the protected
stack (my experiments suggest no).

Also, none of the things I want to copy have scripts (although some have a
behavior in a button on another stack).



> The solution is to create controls in an unprotected stack without scripts
> and set the parentScript of these controls to a button with a script on a
> password protected stack.
>

Actually, I would rather keep even the controls protected--there is serious
work in their custom properties (and tedious work in creating them to match
the federal forms!)

There is not an issue of anyone else ever getting the unprotected stacks in
an IDE; only the standalone will ever distribute.

>
> I do this in my software Strõm, which copies the new components for a flow
> diagram from an unprotected stack, but has all its scripts protected by
> passwords.
>

Does it make sense to in some way unlock the stacks after loading?  But
this would need the password for the other scripts


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list