system.vision.unlockScreen
Backwards Compatibility
This function replaces system.security.unlockScreen. Any scripts containing Vision Client scoped functions that were replaced with system.vision syntax will still work to maintain backwards compatibility.
This function is used in Python Scripting.
Descriptionβ
Unlocks the client, if it is currently in lock-screen mode.
Client Permission Restrictionsβ
This scripting function has no Client Permission restrictions.
Syntaxβ
system.vision.unlockScreen()
Parametersβ
Nothing
Returnsβ
Nothing
Scopeβ
Vision Client
Code Exampleβ
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.vision.unlockScreen()