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
salt.modules.mac_assistive.
enable
(app_id, enabled=True)¶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
salt.modules.mac_assistive.
enabled
(app_id)¶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
salt.modules.mac_assistive.
install
(app_id, enable=True)¶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
.
CLI Example:
salt '*' assistive.install /usr/bin/osascript
salt '*' assistive.install com.smileonmymac.textexpander
salt.modules.mac_assistive.
installed
(app_id)¶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
salt.modules.mac_assistive.
remove
(app_id)¶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
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy