View Full Version : Error running encrypted script...

02 February 2006, 11:04 PM
When I encrypt my script, i get the error bellow. But when I encrypt just a random script it doesnt have the error. Any idea what causes this error?

>> MAXScript MacroScript Compile - C:\scriptname.mse Exception: -- Syntax error: at name, expected macroScript
-- In line: ΥΧ <<


02 February 2006, 10:34 AM
ok ive got the problem reduced to the macroscript part of my script....

I have somethign like the following, is there something wrong with the wya im doing it here. As if i comment out the macroscript part, and encrypt it runs fine....

macroScript UV category:"UV" internalcategory:"UV" tooltip:"UV" buttontext:"UV"
rollout myRollout "UV"
createDialog myRollout "UV" width:110 height:768

02 February 2006, 10:55 AM
i have no experiecne with marco scripts but from what i see from what others do, i dont think you can encrypt actual macroscripts - alll the scripts i have seen that do this the macro scirpt is a normal .ms and it points to the encrypted file as the body using filein methods


CGTalk Moderation
02 February 2006, 10:55 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.