To avoid a lock/unlock screen not expected I use this
Hi All,
To avoid a lock/unlock screen not expected I use this
Code: Select all
on mymessage
if not the lockScreen then
put 0 into tLS
lock screen
else
put 1 into tLS
end if
....
....
if tLS = 0 then unlock screen
end myMessage
Best regards
Jean-Marc