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         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
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