No Disturb Mode

Updated at:

Start

start()

Description

Starts Do Not Disturb Mode.

Sample Call: rpa.system.no_disturb_mode.start

# Note: Administrative permission is required to debug or execute this method.
# The following example starts No Disturb Mode and then runs the subsequent script. In this example, a web browser window is created in No Disturb Mode.
# After execution, a "No Disturb" message appears on the screen until the script finishes. The mouse and keyboard are disabled during this time.
rpa.system.no_disturb_mode.start()
rpa.app.chrome.create('www.baidu.com')
sleep(5)

Stop

stop()

Description

Stops Do Not Disturb Mode.

Sample Call: rpa.system.no_disturb_mode.stop

# Note: Administrative permission is required to debug or execute this method.
# The following example stops the active No Disturb Mode.
rpa.system.no_disturb_mode.stop()