Getting rid of a stack password

J. Landman Gay jacque at
Thu Sep 13 14:48:08 CDT 2012

On 9/13/12 2:40 PM, Peter Haworth wrote:
> I have a script I use to prepare a stack for release.  It sets a password
> on some of the stacks in the stack file and then copies the stack file to a
> release folder.  All fine so far.  After the copy, I then attempt to get
> rid of the password so I don't have to mess with it for development
> purposes.  The code I use is:
> set the passkey of stack "xyz" to <password>
> set the password of stack "xyz" to empty
> Then I save the stack file.
> Next time I open the stack file, the password protection is still there.
>   I'm obviously missing something and hoping someone can tell me what it is.

That's how it's done. Is the destroystack set to true? If not, remove it 
from memory before re-opening.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the use-livecode mailing list