Hi Richard,

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

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.

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.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 4/12/2015 00:52, Dr. Hawkins wrote:
I absolutely need my source stacks encrypted.

I have found that when I try to copy a group from a stack that I clone
(turns out to be much faster to add objects to that group and delete the
group than to delete individual items), I get a  "can't cut object.  Stack
is password protected" error in the standalone (but not in the IDE).

While the obvious answer in this case is to have another empty group to
clone as part of the stack, this won't solve other cases where I function
by copying groups from source stacks.

This error also seems incorrect; I am not cutting . . .


_______________________________________________
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