Trying programmatically do what the \'defaults write\' command does in OS X. I can\'t seem to figure out how to get the correct preferences dictionary for the domain I\'m l
It might be easier to use Core Foundation for this, e.g.,
CFPreferencesSetAppValue( CFSTR("mcx-expose-disabled"), kCFBooleanTrue, CFSTR("com.apple.dock") ); CFPreferencesAppSynchronize( CFSTR("com.apple.dock") );