This module allows you to manage assistive access on macOS minions with 10.9+
New in version 2016.3.0.
salt '*' assistive.install /usr/bin/osascript
Enable or disable an existing assistive access application.
The bundle ID or command to set assistive access status.
Sets enabled or disabled status. Default is True
.
CLI Example:
salt '*' assistive.enable /usr/bin/osascript
salt '*' assistive.enable com.smileonmymac.textexpander enabled=False
Check if a bundle ID or command is listed in assistive access and enabled.
The bundle ID or command to retrieve assistive access status.
CLI Example:
salt '*' assistive.enabled /usr/bin/osascript
salt '*' assistive.enabled com.smileonmymac.textexpander
Install a bundle ID or command as being allowed to use assistive access.
The bundle ID or command to install for assistive access.
Sets enabled or disabled status. Default is True
.
How many times to try and write to a read-only tcc. Default is True
.
Number of seconds to wait between tries. Default is 10
.
CLI Example:
salt '*' assistive.install /usr/bin/osascript
salt '*' assistive.install com.smileonmymac.textexpander
Check if a bundle ID or command is listed in assistive access. This will not check to see if it's enabled.
The bundle ID or command to check installed status.
CLI Example:
salt '*' assistive.installed /usr/bin/osascript
salt '*' assistive.installed com.smileonmymac.textexpander
Remove a bundle ID or command as being allowed to use assistive access.
The bundle ID or command to remove from assistive access list.
CLI Example:
salt '*' assistive.remove /usr/bin/osascript
salt '*' assistive.remove com.smileonmymac.textexpander