JimmyM
05-26-2009, 01:55 PM
I have jsts created a simple script that writes to UltraEdit. I chose the app because unlike maya it has
colour references and the lines on it are more visible than that of maya.
Its goes :
string $currentPath = `internalVar -userScriptDir`;
chdir $currentPath;
string $UltraEdit = ("start D:/Program Files"...Uedit.exe syncFile.mel)
system($UltraEdit);
These simple code creates a file named syncFile in UltraEdit and saves it as
syscFile.mel in the scripts directory located in my Documents if you are using windows.
I made a button out of these.
From the Script editor, I then typed:
source syncFile.mel;
in hopes that it will see the file but it does not unless I spoon feed it the path eg. source "D:/Program File...");
Do you guys know what I am doing wrong?
colour references and the lines on it are more visible than that of maya.
Its goes :
string $currentPath = `internalVar -userScriptDir`;
chdir $currentPath;
string $UltraEdit = ("start D:/Program Files"...Uedit.exe syncFile.mel)
system($UltraEdit);
These simple code creates a file named syncFile in UltraEdit and saves it as
syscFile.mel in the scripts directory located in my Documents if you are using windows.
I made a button out of these.
From the Script editor, I then typed:
source syncFile.mel;
in hopes that it will see the file but it does not unless I spoon feed it the path eg. source "D:/Program File...");
Do you guys know what I am doing wrong?
