Hi to everyone ! I'm currently trying to create a self installing maxscript file but no matter what I try I feel like it's a never-ending story. Here's what I currently have: 1 maxscript file containing the functions 1 macroscript file containing the UI when I evaluate the maxscript file and the macroscript file,…
Just post an MZP. I have time to look. What I do, and I think it might be the right way (SpaceFrog can correct me), use your Install.ms to move MyFunctions.ms to a Plugins folder (not a script or macro folder) and put MyUI.mcr in $UserMacros. Then fileIn the function. Finally, fileIn the Macro. This evals the scripts for…
Thank you for the reply monster ! I sent you the mzp file if you still have some time to look into it. Actually I wanted to keep the files out of the Plugins folder (like stdplugs/stdscripts/...). But this might be the only valid place even if there's a userScript folder. I wanted to know why it was like that, and how the…
Thank you for the tip. This is a very bad design if you'd ask me ! ^^ I tried to replace the "then" by a "do", and also add an "else" block but it didn't change anything. Hopefully I finally managed to make it work. It seems that's because I had to include the functions inside the macroscript declaration, but outside the…