This procedure saves the current application, and displays it in a text box. The user can view the resulting code.
Figure: The procedure XFProcProgShowScript