Example: Disable/enable script from another script

Task

Disable or enable a script on specific conditions from another script.

Program

Source code    
  1. script.enable('name')
  • Disable specific script by name
Source code    
  1. script.disable('name')
  • Get current status of specific script by name
Source code    
  1. status = script.status('name')