
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi guys,
I'm writing a MEL script here and some of my script's contents are not turning the colour they should be in order to work. For example:
///Renamer Tool
//Create a window and make it adjustable
string $RNM_Wind = `window -t "Rename It!"`;
columnLayout -adj 1;
//Query Selection
string $sel[] = `ls -sl`;
//ForLoop - “for every object selected in ($sel), run the following commands”
for ($each in $sel){
//Create name fields that let us find and edit each object’s name
nameField -o $each;
}
//Button
button -l “CLOSE" -c “deleteUI - window $RNM_Wind”;
//Show the window
showWindow $RNM_Wind;
Now, where it says $sel, $each and at the end $RNM_Wind; should be light blue in italics, but they aren't and I've tried rewriting them several times and double checking the script that I transcribed and everything to me looks good. So why does this happen? How can I fix it? Has the MEL language changed in anyway from previous years?
Thanks for the help.
M
Solved! Go to Solution.