I want to enable access for assistive devices programmatically.
Have another way to do this that not use
NSURL *prefPaneURL = [NSURL fileURLWithPath:[[paths objectAtIndex:0] stringByAppendingPathComponent:@"UniversalAccessPref.prefPane"]];
[[NSWorkspace sharedWorkspace] openURL:prefPaneURL];
to open System Preferences?
you can use apple script