Skip to content

Instantly share code, notes, and snippets.

@ckundo
Last active June 21, 2020 00:50
Show Gist options
  • Save ckundo/93a4047e8a3372376de1addb717663b8 to your computer and use it in GitHub Desktop.
Save ckundo/93a4047e8a3372376de1addb717663b8 to your computer and use it in GitHub Desktop.
% /System/Library/CoreServices/VoiceOver.app/Contents/MacOS/VoiceOver -h
Framework Version: 708.13
Usage: VoiceOver <subcommand> [options...]
-h -- Help.
-k -- Keyboard Help.
-l logmask -- A comma separated list of log masks (mask1,mask2,...).
-p -- Do not show splash screen.
-q -- Quick start.
-t appname -- A comma separated list of application names to target.
-v -- Version information.
-L -- This screenreader is meant to run at login time.
-T testTarget -- A comma separated list of the process identifiers of the applications that will be tested with VoiceOver.
-a -- Automatic start at login
Available subcommands:
launchd
@ckundo
Copy link
Author

ckundo commented Jun 20, 2020

2020-06-20 11:55:08.193 VoiceOver[3949:366111] VoiceOver could not toggle keep alive: 
2020-06-20 11:55:08.194 VoiceOver[3949:366111] SCREENREADER[3949]: Someone has already checked in my running label. Exiting.
2020-06-20 11:55:08.454 VoiceOver[3949:366111] VoiceOver could not toggle keep alive: ```

@ckundo
Copy link
Author

ckundo commented Jun 20, 2020

default	12:29:57.768644-0400	VoiceOver	SCREENREADER[4454]: VoiceOver was not launched by UA daemon as expected.

@ckundo
Copy link
Author

ckundo commented Jun 20, 2020

/System/Library/LaunchAgents/com.apple.VoiceOver.plist: Operation not permitted while System Integrity Protection is engaged```

@ckundo
Copy link
Author

ckundo commented Jun 20, 2020

(com.apple.xpc.launchd.domain.user.501): Service "com.apple.xpc.launchd.unmanaged.VoiceOver.749" tried to register for endpoint "com.apple.VoiceOver.running" already registered by owner: com.apple.VoiceOver

@ckundo
Copy link
Author

ckundo commented Jun 20, 2020

sudo launchctl debug gui/$UID/com.apple.VoiceOver --stderr --stdout -- /System/Library/CoreServices/VoiceOver.app/Contents/MacOS/VoiceOver -p -q -k

@ckundo
Copy link
Author

ckundo commented Jun 21, 2020

This will scope the next launch of VoiceOver to Safari only:

sudo launchctl debug gui/$UID/com.apple.VoiceOver -- /System/Library/CoreServices/VoiceOver.app/Contents/MacOS/VoiceOver -p -t Safari launchd -s

@ckundo
Copy link
Author

ckundo commented Jun 21, 2020

sudo launchctl debug gui/$UID/com.apple.VoiceOver -- /System/Library/CoreServices/VoiceOver.app/Contents/MacOS/VoiceOver -p -t Safari launchd -s; /System/Library/CoreServices/VoiceOver.app/Contents/MacOS/VoiceOverStarter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment