The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus Extras
FAQ Members List Calendar Today's Posts

 
PagePacker print service Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
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..
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Evading Print on Print Dialog jpelton OmniFocus Extras 3 2010-03-21 12:59 PM
OmniFocus -> PagePacker Script [Python] erik_westra OmniFocus Extras 15 2008-04-10 07:57 PM
New clipping service ksrhee OmniFocus 1 for Mac 5 2007-10-10 07:44 AM


All times are GMT -8. The time now is 04:48 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.