Hi Richard, It was in my script comparison utility but not in the area that gets scripts. I'm dealing with password protected stacks by giving them the choice of supplying the password or ignoring the stack if they don't know it.
Thanks for the recommendation for checking if the stack is available. Right now, I prompt if the password is empty but, if I'm understanding correctly, your method handles the situation where the use has already entered the password for some other purpose. Pete lcSQL Software <http://www.lcsql.com> On Tue, Jul 3, 2012 at 6:34 AM, Richard Gaskin <[email protected]>wrote: > Good call. If this is related to the script comparison tool, the issue > may have to do with "get the script of...", since of course in a > password-protected script that'll throw an error. > > You can check whether a script is locked by comparing the password and > passkey properties - if they're the same the script is available. > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
