Getting rid of a stack password
Peter Haworth
pete at lcsql.com
Thu Sep 13 19:54:30 EDT 2012
The reversion to password protected happens the next time I run Livecode
and load the stack, not loading it again in the same run of livecode.
Pete
lcSQL Software <http://www.lcsql.com>
On Thu, Sep 13, 2012 at 12:48 PM, J. Landman Gay
<jacque at hyperactivesw.com>wrote:
> 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 hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>
More information about the use-livecode
mailing list