Skip to content

Commit

Permalink
[macOS] Enable voiceover applescript defaults (#4824)
Browse files Browse the repository at this point in the history
* feat: enable voiceover applescript in defaults

* refactor: reword comment

* fix: grammar in VO comment
  • Loading branch information
cmorten authored Jan 11, 2022
1 parent 97368aa commit 865d805
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion images/macos/provision/configuration/configure-machine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ if [ -d "/Library/Application Support/VMware Tools" ]; then
sudo "/Library/Application Support/VMware Tools/vmware-resolutionSet" 1176 885
fi

# Update VoiceOver Utility to allow VoiceOver to be controlled with AppleScript by creating a special file (SIP must be disabled)
# Update VoiceOver Utility to allow VoiceOver to be controlled with AppleScript
# by creating a special Accessibility DB file (SIP must be disabled) and
# updating the user defaults system to reflect this change.
if csrutil status | grep -Eq "System Integrity Protection status: (disabled|unknown)"; then
sudo bash -c 'echo -n "a" > /private/var/db/Accessibility/.VoiceOverAppleScriptEnabled'
fi
defaults write com.apple.VoiceOver4/default SCREnableAppleScript -bool YES

# https://developer.apple.com/support/expiration/
# Enterprise iOS Distribution Certificates generated between February 7 and September 1st, 2020 will expire on February 7, 2023.
Expand Down

0 comments on commit 865d805

Please sign in to comment.