Does anybody know where the mouse settings like tracking speed or button functions are kept in 10.4? All the computers where I work reset themselves to nearly no tracking speed and no right click when a user logs out, and I’d like to have a script that I can put on the machines that will automatically up the speed and enable it upon login.
I know that the Keyboard and Mouse preference pane is in /System/Library/PreferencePanes/, and I looked inside it, but I didn’t see any settings for the mouse.
I would do this with System Events and clicking, but I’d really like to know if there’s a way to just write the preference to some file and be done. I don’t want the lab users to have to sit through automated clicking every time they come in.
OK, I found a file: ~/Library/Preferences/com.apple.driver.AppleHIDMouse.plist
This file changes depending on what is selected in the Mouse tab in System Prefs, but changing the values in the file and saving has no effect on what the mouse does. Anybody have any solutions? Is there a way to see what code System Preferences is executing to change what the mouse does?
… Also, the tracking speed isn’t in this file. Anybody know where it is?
Thanks Budgie, but as mentioned in my first post, I’m trying to find a way AROUND doing UI scripting.
Plus both of those scripts error out for me anyhow
looks like you need to change the “.GlobalPreferences.plist”
see if this thread helps any;
Thanks! Looks like it was right under my nose the whole time. :rolleyes: