PDA

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


DeadlyNightshade
01-12-2013, 10: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?

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

Might that help ?

/risto

Nyro
01-13-2013, 10:01 AM
you can try the exists command

djx
01-13-2013, 11:00 AM
"filetest" maybe?

David

DeadlyNightshade
01-13-2013, 11:11 AM
Cool, thanks!

CGTalk Moderation
01-13-2013, 11:11 AM
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.