Can the Auto-Save option be used together with Actions or how can I otherwise rotate an exported JPEG image ?
Using version 1.2.3 with the Auto-save option and Auto-save format set to JPEG works really well. The problem is that the printed format is Landscape and also a little skewed in one dimension.
If I am using the Actions (both Action before Saving and Action after Saving) together with the normal PDF output and Auto-save disabled both work normally. But as soon as I activate the Auto-save option they are no longer executed. I would also need to scale the image 50% in one direction - if there is another simple postscript command that I can use that would be appreciated as well ;.)
Sample script for "Action before saving" that rotates the output:
``` ' Rotate90.vbs script ' Addition to PDFCreator ' License: GPL ' Homepage: http://www.asiamann.de ' Version: 1.0.0.0 ' Date: December, 1. 2011 ' Author: Michael Benz ' Comment: This script tries to rotate the PSOption Explicit
Const AppTitle = "PDFCreator - Rotate90"
Const ForReading = 1, ForAppending = 8
Dim objArgs, fname, fso, f
Set objArgs = WScript.Arguments
If objArgs.Count = 0 Then
MsgBox "This script needs the filename parameter!", vbExclamation, AppTitle
WScript.Quit
End If
fname = objArgs(0)
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(fname, ForAppending, True)
f.writeline "90 rotate"
f.Close
<p> </p>