Member
2007-12-30, 01:31 AM
Save the following as AppleScript in "Library/PDF Services". It will show up in the print dialog in the PDF popup:
Code:
on open these_items
try
set f to the item 1 of these_items
tell application "PagePacker"
set page size to A4
make new document
tell document 1
set file source of page 1 to f
end tell
tell application "System Events"
tell process "PagePacker"
activate
set frontmost to true
keystroke "p" using command down
end tell
end tell
end tell
on error error_message number error_number
if the error_number is not -128 then
tell application (path to frontmost application as string)
display dialog error_message buttons {"OK"} default button 1
end tell
end if
end try
end open
Stefan
Last edited by Schimmi; 2007-12-30 at 03:27 AM..