Skip to main content
Version: 8.3 Beta 🚧

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. Only the system.vision variations will appear in the Script Editor's autocomplete popup.

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()