Sorry, I misread. You want the SaveAs dialog box to be prefilled with a name; that wouldn't be a security issue; there just isn't an interface to do it. What confused me is your statement that "The block comes because saveAs is a restricted method." In fact, the doc.saveAs method has nothing to do with showing the Save As dialog box, it just does the save, hence the security limitations.
↧