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 Search Today's Posts Mark Forums Read

OmniFocus -> PagePacker Script [Python] Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Hi folks,

The PagePacker application looks like a great way to carry your context lists with you. It's fully scriptable, so I started looking at ways to link it into OmniFocus.

Unfortunately, there's no straightward way of scripting the "Save to PDF" functionality within OSX, so it's not easy to get the context lists out of OmniFocus in a nicely-formatted way. Fortunately, though, PagePacker handles plain-text files, so I decided to knock something together that pulls the context lists out of OmniFocus, and imports them into PagePacker as a series of plain text files.

The result is a bit ugly, but it seems to work fine. I'm not keen on writing AppleScript, so I implemented this in Python -- it should work on any copy of OSX, as Python comes pre-installed.

I've even added the ability to add your own PDF files to the PagePacker document (to add a custom title page, or whatever). Ultimately, I'd like to extend this using a toolkit I'm familiar with (a thing called ReportLab) that can create PDF files programmatically. With that, we'd get nicely-formatted context lists which could be imported into PagePacker directly -- assuming, of course, that Omni don't beat me to it by adding the functionality directly into OmniFocus (which would be the ideal way to handle this).

Anyway, I've attached my first cut at this script. There are instructions in the script itself, so if you open it in your favourite text editor, you should have everything you need to get going.

- Erik.

[Edited to upload newer version of script]
Attached Files
File Type: zip (3.7 KB, 311 views)

Last edited by erik_westra; 2007-10-28 at 07:41 PM..

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Python OmniFocus library for generating reports psidnell OmniFocus Extras 14 2013-04-11 11:54 PM
Omnifocus weekly report script.... fmantek OmniFocus Extras 13 2013-01-21 11:26 PM
Script: FoldingText to OmniFocus RobTrew OmniFocus Extras 47 2013-01-06 07:03 AM
PagePacker print service Schimmi OmniFocus Extras 9 2010-06-26 06:13 AM
Jott to OmniFocus Script posted MB_UST OmniFocus Extras 3 2008-01-03 05:07 AM

All times are GMT -8. The time now is 05:11 PM.

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