Export view,click on Export to... on file menu. ${outputDir} Output directory of saved exported file,It will be /User/aaa/Documents in above case. ${outputFileName} File name (without extension) of ...