[Closed] Loading popup windows at startup
Hi,
So I’m redeveloping my pipeline system. So far Ive been using only mxs:macros and some scripts (mostly to load up some variables and functions at startup).
Now I want to go more pro and pipe in other software into it as well. I think I will do it in C++, because I need the whole tool build outside and independent. And I hate python and PySide I will only use them where I MUST, but no need.
So the first thing I always wanted to apply is some proper window popup at start. Usually those appear too fast or dont appear at all (I guess it depends on where you put your script).
Ideally what I want is that when 3dsmax finished loading up, a new window popes up, preferably always-on-top. And then a user cannot do anything, because he/she needs to select a project first.
So 1st question is: how to get this “timing” for the window to pop up
And 2nd question is: can I somehow freeze max (user unable to create, save, load, etc.) and then resume max?
If you need a maxscript solution put this in the maxRoot/Scripts/Startup folder
(
global rol_
try(destroyDialog rol_)catch()
rollout rol_ ""
(
button btn_continue "CONTINUE" width:160
on btn_continue pressed do
(
destroyDialog rol_
)
)
createdialog rol_ modal:true
)
The
modal:true
Will make the 3dsMax window to be inaccessible until the roloout is not closed.
Thank you very much that helps a lot!
But what about when you start backburner. When a job is received the scripts still runs and holds 3ds max and the job. Do you have any solutions to that?