View Single Post
# 2 14-03-2005 , 04:12 PM
Saiyan's Avatar
Registered User
Join Date: Apr 2002
Posts: 441
Found this after some searching....a skill I suggest that people work on a little moreuser added image

This workaround apparently is from alias and as such Please use this at your own risk!!

I do not own a mac so I won't know if this works



1. Start Maya and create a hotkey.
2. Confirm that the hotkey works.
3. Exit Maya.
4. Confirm that the hotkeys were set by using Textedit to open the
following files:
/Users/USERNAME/Library/Preferences/Alias/maya/6.0/prefs/userNamedCommands.m
el
/Users/USERNAME/Library/Preferences/Alias/maya/6.0/prefs/userHotkeys.mel

NOTE: *USERNAME* is your login account name.

5. Start Maya.
6. Open the Script Editor and type in the following 2 mel script commands:
source
"/Users/USERNAME/Library/Preferences/Alias/maya/6.0/prefs/userNamedCommands.
mel";
source
"/Users/USERNAME/Library/Preferences/Alias/maya/6.0/prefs/userHotkeys.mel";

NOTE: *USERNAME* is your login account name.

7. Drag these 2 scripts into your "Custom" MEL scripts tab in your shelf.
IMPORTANT: If you don't source the 2 MEL scripts noted in step 6 before
exiting Maya, the "userNamedCommands.mel" amd "userHotkeys.mel" will reset
themselves when you exit Maya.

8. Exit Maya. Check that the hotkeys are still there by looking at the
following 2 files:
/Users/USERNAME/Library/Preferences/Alias/maya/6.0/prefs/userNamedCommands.m
el
/Users/USERNAME/Library/Preferences/Alias/maya/6.0/prefs/userHotkeys.mel

NOTE: *USERNAME* is your login account name.

If the files are blank and don't have the hotkeys, you didn't "source" the
MEL scripts properly noted in step 6. Please start from Step 1 again to
recreate your hotkeys.

9. Start Textedit and open the Preferences:
New Document Attributes > Plain Text
Saving > Take the check off for "Append ".txt" extension to plain text
files".

Exit out of Textedit and start Textedit again. There should be no "ruler"
for the text document.

10. Add the following into the text document:
source
"/Users/USERNAME/Library/Preferences/Alias/maya/6.0/prefs/userNamedCommands.
mel";
source
"/Users/USERNAME/Library/Preferences/Alias/maya/6.0/prefs/userHotkeys.mel";

Save this file on your desktop and call it: userSetup.mel

11. Move the "userSetup.mel" to:
/Users/USERNAME/Library/Preferences/Alias/maya/6.0/scripts/userSetup.mel
NOTE: *USERNAME* is your login account name.

12. Start Maya and check that the hotkeys are working.