PDA

View Full Version : Problem witn "EncryptFile" function !!!


crazyOsachou
10-19-2007, 04:29 PM
hi,
I read the help of Max about "encryptFile" and i'd remember that if we need to encrypt a Script we just need to do it with "encryptFile" function, then we get the .mse file.
In the help, it said that this file .mse can be used by anyversion of max if we run it throw the MaxScript rollout by clicking on "Run Script", we supose that we talk about only max9, but the problem is, it doesn't stuck. it didn't work.Is this a problem or i missed something?!
EnCryptFile "test.ms" "test.mse 1245775

PiXeL_MoNKeY
10-19-2007, 04:43 PM
EnCryptFile "test.ms" "test.mse 1245775
You are missing the " to close the output string, it should be:
EnCryptFile "test.ms" "test.mse" 1245775
Also, you should include the full path for the script and the output mse inside the quotes.

-Eric

scorpion007
10-20-2007, 02:14 AM
I'm pretty sure you want to be looking at encryptScript, not encryptFile for your purposes.

And, no, you shouldn't hard code absolute paths, if that what you were getting at, PiXeL_MoNKeY, instead attain them programmatically.

CGTalk Moderation
10-20-2007, 02:14 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.