sparaig
10-13-2006, 05:13 PM
why isn't this working?I create a very simple file, tester.mel, and save it in the scripts folder:
global proc tester(){print("test\n");}
I then create a simple applescript and run it:
tell application "Maya"
execute "source tester"
execute "tester"
end tell
I get the error:// Error: source tester; //
// Error: Line 1.14: Cannot find file "tester" for source statement. //
global proc tester(){print("test\n");}
I then create a simple applescript and run it:
tell application "Maya"
execute "source tester"
execute "tester"
end tell
I get the error:// Error: source tester; //
// Error: Line 1.14: Cannot find file "tester" for source statement. //
