Re: Setting mouse preference and space preference values via AppleScript
Re: Setting mouse preference and space preference values via AppleScript
- Subject: Re: Setting mouse preference and space preference values via AppleScript
- From: Stan Cleveland <email@hidden>
- Date: Mon, 30 Aug 2010 12:38:30 -0700
On Aug 29, 2010, at 6:30 AM, Devarshi Kulshreshtha wrote: I want to perform following tasks via Apple Script, but I am not getting any workable solution:
Mouse Preference-
1. Set action for right mouse button to Secondary Button.
2. Set action for scroll ball button to Spaces. 3. Set action for side buttons to Expose - All Windows. 4. Any of above
Expose & Spaces > Spaces Preference-
Set no. of rows to 1 and no. of columns to 3.
Can anyone suggest me some solution for it?
Hi Devarshi,
Mouse button preferences appear to be stored in the plist file ~/Library/Preferences/com.apple.driver.AppleHIDMouse.plist. Each item in the plist is assigned an integer, which indicates its function. You'd need to systematically change mouse settings and check to see what each integer represents. Then it should be a simple matter of calling the "defaults" command (via "do shell script") to set things as desired.
FWIW, I'm running OS 10.6.4 with a wired Apple [Mighty] Mouse. Older systems or different mice may use another file or alternate method for storing these preferences.
Sorry, but I don't know where or how Spaces preferences might be stored.
HTH, Stan C. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden