MEL Script Install and Hotkeys for Dummies

Before any of my kind readers take offense, allow me to clarify that the dummy referred to above is none other than myself. I can’t tell you how many times I’ve gone to quickly install a MEL script and then found that I can’t quite remember the correct sequence or where it’s supposed to go. So, if for no other reason than making sure I have a permanent record of how to do this on the internets, here goes:

1. Download your desired MEL script. My most-often used MEL script is probably AutoTangent, which I’ve gotten from a variety of sources, but you can reliably find it at Comet Cartoons.

2. The MEL script belongs in the scripts folder in your preferences for maya. For Mac users (sorry Windows folks, you’re on your own. In many ways.), you’ll put it here:

yourname/Library/Preferences/Autodesk/maya/2011-x64/scripts

3. Once you’ve dumped it in the right folder, open Maya and open the Script Editor. Navigate to File > Load Script. Once again you’ll need to navigate to the /scripts folder to retrieve your MEL script. Hit the play button.

4. Another way to do this is to open the MEL script in a program like TextEdit. The command for the script will be located by “global proc”

5. You can then copy and paste this command (here it’s autoTangent()) into the MEL script bar and hit enter to run.

6. To create a hotkey for your new script, go to Windows > Settings & Preferences > HotKey Editor.

7. On the left side of the window, scroll down to Users. Then, on the right side, select “New” and give your hotkey a name. In the Command box, type the short command (autoTangent()).

8. On the right side of the window, you can pick your hotkey and its modifiers. I’ve selected “K” because I know off the top of my head that it’s not by default assigned to anything else. Hit “Assign.”

9. Hit “Save” and you’re ready to go!

To my more tech-savvy readers, thanks for bearing with me! This process has frustrated me every time I reinstall Maya or wipe my hard drive. I ALWAYS forget to back this sort of stuff up.

~ by animationslider on April 3, 2012.

4 Responses to “MEL Script Install and Hotkeys for Dummies”

  1. Hello there! This post could not be written much
    better! Going through this article reminds me of my previous roommate!

    He always kept talking about this. I am going to forward this post to him.

    Fairly certain he’s going to have a great read. Thank you for sharing!

  2. This is a very good tip especially to those new to the blogosphere.
    Short but very precise info… Many thanks for sharing this one.
    A must read post!

  3. I really like your blog.. very nice colors & theme.
    Did you create this website yourself or did
    you hire someone to do it for you? Plz answer back as I’m looking to construct my own blog and would like to find out where u got this from. many thanks

  4. Attractive component of content. I simply stumbled upon your weblog
    and in accession capital to assert that I get in fact loved account your blog posts.
    Anyway I’ll be subscribing on your feeds or even I achievement you access persistently quickly.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: