Yeah, that seems like it might work - but it doesn't.

on mouseUp
   put 1 && the lockscreen &CR after msg
   set the lockscreen to true
   put 2 && the lockscreen &CR after msg
   wait 0 seconds with messages
   put 3 && the lockscreen &CR after msg
end mouseup

gives

1 false

2 true

3 true

I guess being in an 'active' wait doesn't count as idle...

Need to do the brute force loop as Craig suggested.

Alex.


On 31/12/2018 17:21, Bob Sneidar via use-livecode wrote:
There IS a method for unlocking all. wait 0 seconds with messages. All screen 
locks are cleared when the idle message is sent.

Bob S




_______________________________________________
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