system.security.unlockScreen

Description

Unlocks the client, if it is currently in lock-screen mode.

Syntax

system.security. unlockScreen()

  • Parameters

none

  • Returns

nothing

  • Scope

Client

Code Examples
Code Snippet
#This code would go in a global script to automatically unlock the screen on a specific computer
comp = system.net.getHostName()
if comp == 'Line 1':
system.security.unlockScreen()