lock/unlock screen

Kay C Lan lan.kc.macmail at gmail.com
Fri Sep 21 23:42:32 EDT 2012


On Fri, Sep 21, 2012 at 5:47 AM, Bob Sneidar <bobs at twft.com> wrote:

> Face it Richmond. It's you and me against the world. ;-)


If you can't sleep at night because you're worried about multiple lock
screen, or keeping track of pairs, why not:

if the lockScreen is false then lock screen

If you only ever use this, when you absolutely need the screen to be
locked, then the count will only ever be 1. For those instances where you
absolutely need the screen to be unlocked:

if the lockScreen is true then unlock screen

Then you don't have to bother about keeping track of pairs and can rest
easy at nights knowing that if left to the engine it only has to unlock
once when it goes idle - rather than having to wait a millisecond longer if
you had dozens piled up.



More information about the use-livecode mailing list