Re: programmatically save as PDF (SaveRename problem)
- To: mathgroup at smc.vnet.net
- Subject: [mg130519] Re: programmatically save as PDF (SaveRename problem)
- From: Daniel <dosadchy at its.jnj.com>
- Date: Thu, 18 Apr 2013 05:34:15 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
I use Export[], for example: Plot[Sin[x], {x, 0, 20}] Export["e:\\test.pdf", EvaluationNotebook[], "PDF"]; > This works: > > FrontEndExecute[ > FrontEndToken[EvaluationNotebook[], > "SaveRename", {"C:\\temp\\temp.nb"}]] > > > But how to save as PDF? > > I expected to add a second parameter, but I could not > make that work. > > Thanks, > Alan Isaac > (Mathematica 9 on Windows) >