The following AppleScript was for me an elegant solution, hope others may fine it useful. It's especially useful with Quicksilver, since I can just invoke Quicksilver, hit t-o-g-Return (which finds the script I've named "Toggle Trackpad Clicking"), and it's done.
How to use:
- Copy the script:
tell application "System Preferences" activate end tell tell application "System Events" tell process "System Preferences" click the menu item "Keyboard & Mouse" of the menu "View" of menu bar 1 delay 4 click the radio button "Trackpad" of the first tab group of window "Keyboard & Mouse" click the checkbox "Clicking" of the first group of the first tab group of the window "Keyboard & Mouse" end tell end tell tell application "System Preferences" quit end tell - Paste the code into Script Editor (in /Applications -> AppleScript).
- Save to a convenient place, choosing "Application" from the File Format pull-down menu in the Save dialog.

