How can I set the trackpad preferences in OS X Snow Leopard using a script?

0

I'm using 10.6 Snow Leopard and the Better Touch Tool (redefine trackpad functions, etc). I have a that when I restart several options in the trackpad system preference pane revert to OS X defaults. I'm not sure what causes this, but I'd like to be able to restore them to the way I want with something like defaults.write if possible.

The yellow ones are the ones which need to be inverted. The shown state is correct. How can I achieve this?

enter image description here

Or, if this is not possible, does anybody have an idea of why these things keep reverting to their default state? I just asked how to change them back as I thought it would be less trouble to take that approach.

cwd

Posted 2011-12-15T18:48:56.657

Reputation: 13 508

Manually? By opening System Preferences and clicking the checkmarks of course! – Daniel Beck – 2011-12-15T18:51:46.390

1I don't know about 10.6, but on 10.7 most of the preferences are stored in ~/Library/Preferences/com.apple.driver.AppleBluetoothMultitouch.trackpad.plist and a few in ~/Library/Preferences/.GlobalPreferences.plist. – Lri – 2011-12-15T19:05:38.400

@Lri They still must be reloaded somehow. It's not a preference that can be reloaded by restarting an application, is it? – Daniel Beck – 2011-12-15T19:14:07.960

probably just killing the dock. that works for everything else. jk ;) – cwd – 2011-12-15T19:43:03.677

@DanielBeck Actually I don't think you can ever edit the preferences in com.apple.driver.AppleBluetoothMultitouch.trackpad.plist directly on Lion. – Lri – 2011-12-15T19:51:13.690

Any ideas on what I should do to troubleshoot why this is happening? – cwd – 2011-12-15T20:13:02.523

No answers