[Closed] Macroscript for encrypted maxscript
I’m not very familiar with maxscript and i’m having a time figuring out how to get a .mse wrapped in a macro so that it can be placed as a menu item.
I know what to add to a script to make it a macro but I can’t do it to this particular script because of the encryption.
Any way to wrap it to make this work?
filein the encrypted file and use an unencrypted macro to handle the implementation in the UI. Examples and info can be found here and by searching here for “encrypt filein”.
-Eric
Works like a charm.
I knew it had to be something simple like an include or reference.
Thanks!
Hey Todd,
There’s an important distinction between filein and include in this case. Filein loads the script (like running the script normally) so will de-crypt the encrypted source when placed into a macro. However, Include is the equivalent of pasting whatever is in the include file into the macroscript. To include an encrypted script would just add the encypted text without running it .
Thanks for the info Pete.
I really meant that descriptively.
Just used “include” for lack of a better term.
Probably comes from my knowledge of PHP and the include() statement.
Good to know though, thanks for clarifying.
Cheers