lock/unlock screen

Richmond richmondmathewson at gmail.com
Wed Sep 19 15:17:31 EDT 2012


On 09/19/2012 09:16 PM, Bob Sneidar wrote:
> Okay I modified Richmond's experiment to include a send mouseup to button "Single Undo" at the end of the first buttons script, and the field does indeed remain hidden, so yes a series of screen locks do stack. Pardon me for the false info.

Right, I stand corrected.

>
> Bob
>
>
> On Sep 19, 2012, at 10:52 AM, Richmond wrote:
>
>> Richmond had a genius moment :)
>>
>> I made a wee stack called "LOCKER" with
>> two buttons; "Triple-Play" and "Single Undo" and
>> a fld "fff" containing the text "UNLOCKED!"
>>
>> the script of btn "Triple-Play" goes like this:
>>
>> on mouseUp
>>    set the vis of fld "fff" to false
>>     set the lockscreen to true
>>     set the lockscreen to true
>>     set the lockscreen to true
>> end mouseUp
>>
>> the script of btn "Single Undo" goes like this:
>>
>> on mouseUp
>>    set the lockscreen to false
>>    if the lockscreen is false then
>>      set the vis of fld "fff" to true
>>    end if
>> end mouseUp
>>
>> HOT, SCREAMING STUFF!
>>
>> so; click on btn "Triple-Play" which locks the screen THRICE,
>>
>> then; click on btn "Single Undo" which unlocks the screen ONCE,
>>
>> and,
>>
>> "Bingo", "Kazoom", "Jumping Space Potatoes";
>>
>> fld "fff" becomes visible.
>>
>> Richmond.
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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





More information about the use-livecode mailing list