View Full Version : Possible to check if script MEL-file exists?

01 January 2013, 11:51 PM
Is there any MEL command for checking if a script (mel file) exists or not? (in the user scripts folder ofc)

Something like (pseudo code):
command -q scriptFile.mel -exists true;


If not, then how can I make it so that script A know if script B exist or not?

01 January 2013, 12:11 AM
Well you have the possibility of using whatIs - function.

Might that help ?


01 January 2013, 11:01 AM
you can try the exists command

01 January 2013, 12:00 PM
"filetest" maybe?


01 January 2013, 12:11 PM
Cool, thanks!

CGTalk Moderation
01 January 2013, 12:11 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.