View Single Post
# 1 28-02-2013 , 02:53 PM
Registered User
Join Date: Feb 2013
Posts: 7

MEL - Syntax error

Hi, I'm completely new at maya and mel so bare with me user added image

When I try to call up the script it says: Error: D:/MyMelScripts/test.mel line 1.6: Syntax error
I understand from other posts I read, that I could be writing something wrong so here's my
spelling: source test.mel

The MyMelScripts folder was created by me, while the default was C:\Users\Irena\Documents\maya\2013\prefs\ScriptEdi torTemp - which I found weird but I first tried to call up my test.mel script from there, it came with the same syntax error. Which is why I added a MAYA_SCRIPT_PATH = D:\MyMelScripts to the env file to try and do the same thing from another folder.

When I open File>Source script from Script editor it still takes me to the default location.
I found in the ScriptEditorTemp two files named CommandExecuter and CommandExecuter-0. I don't know if that means anything. user added image