Community
Hello! I was wondering if anyone could help me!
I am trying to script a simple Mel Command and cannot understand why it wont work.
Every time I go to execute the command I get a syntax error, the errors can be seen at the top of the attatched image.
I am using Maya 2014!
Thank you!
Jack
I believe the problem is that the character “’” you are using to wrap the Mel command (window -t "Rename It!"), you should use this one “`” which is at the top-left of keyboard, just under esc key, please try that:
And following is what I tried, and the result is as the picture, hope it helps:
string $RNM_Win = `window -t "Rename It!"`;
showWindow $RNM_Win;