hi,i have script of print all mathcad worksheet by push button,my question is can we take a push butoon that print from collapsed and locked area
No. A collapsed and locked area is collapsed and locked precisely so that you can't see what's in it.
I think the question was, if a collapsed region can be opened automatically via a script (providing the password if the region is protected) to be able to print a bunch of files automatically including all of their regions.
But I guess that the answer to this question is "no", too.
WE
True, the question was ambiguous about whether or not the password was available. As you say though, the answer is still "no".