The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus 1 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=38)
-   -   Some OmniFocus Scripts (http://forums.omnigroup.com/showthread.php?t=3880)

curt.clifton 2007-06-17 04:59 PM

Some OmniFocus Scripts
 
I posted some OmniFocus scripts in various threads on the forum. I decided to put these on a web page for easier updates. The scripts include:
[LIST][*]one to generate OF projects from selected OmniOutliner items;[*]one to generate new OF projects from template projects, complete with replacing placeholders and setting dates; and[*]a pair to create OF actions from Mail messages and to jump from the actions back to the message.[/LIST]
You can download all the scripts from [URL="http://www.rose-hulman.edu/~clifton/software.html"]my software downloads page[/URL]. If you find the scripts useful you can subscribe to [URL="://www.rose-hulman.edu/~clifton/software/feed.xml"]my RSS feed [/URL]to be notified when I post updates.

Cheers,

Curt

curt.clifton 2007-06-20 06:02 PM

I just realized that [URL="http://www.rose-hulman.edu/~clifton/software/feed.xml"]my RSS feed[/URL] was pointing to my development server on my localhost. Sorry if you tried the feed and had problems. It should be fixed now.

zxspectrum 2007-06-22 10:17 AM

very nice..
 
thanks for a great script...the only thing that is a bit annoying is the painful 'link back to mail message'...hopefully you can fix this?


thanks again.

curt.clifton 2007-06-22 11:57 AM

[QUOTE=zxspectrum]thanks for a great script...the only thing that is a bit annoying is the painful 'link back to mail message'...hopefully you can fix this?
[/QUOTE]

Do you mean "painfully slow"?

I've gone about as far down that road as I can. We'll have to wait for Apple to fix Mail.app's scripting interface. For now, using the Mail Act-On rules with archiving, as detailed in the included instructions, is your best bet until Leopard is released (or Omni bakes mail links into OmniFocus).

Cheers,

Curt

connie 2007-06-30 02:26 PM

the scripts are very helpful. thanks. I'm not sure how to open a url from inside Omnifocus. It is a cut and past to safari or does it have a link? thanks

curt.clifton 2007-06-30 03:07 PM

Connie,

I assume you're talking about the Send URL from Safari script?

I currently open the actions note, select the URL, right-click the URL, and choose Open Link. I'll plan to eventually integrate the scripts so a single Follow Link script will look at the note field, decide where to jump (Mail, Safari, ...), and then jump there. It'll be awhile before I get to that though. Lots of home improvement projects in the hopper right now.

isam 2007-07-13 12:57 PM

Isn't there a way to uniquely Id a message, and link back to it more efficiently ? it seems that the "set theMessage to the first message of theMailbox whose message id is theMessageID" is very inefficient (is the slowness from it ?)

curt.clifton 2007-07-13 01:38 PM

[QUOTE=isam]Isn't there a way to uniquely Id a message, and link back to it more efficiently ? it seems that the "set theMessage to the first message of theMailbox whose message id is theMessageID" is very inefficient (is the slowness from it ?)[/QUOTE]

Yes, that is the source of the slowness. And yes, there is a way to uniquely ID the message, but only with MailTags installed. Apple does not provide script-based access to arbitrary messages by ID. Trust me on this, I've spent many hours trying various work-arounds. Mail.app's AppleScript interface sucks eggs. The "engineers" who built it should be embarrassed.

MailTags costs $29.95. That will buy you fast opening of arbitrary messages by ID, plus a bunch of nice meta-data facilities for Mail.app. Unfortunately, MailTags's fast opening feature does not display messages within their threads. They open in separate windows.

I've personally decided that MailTags is worth the investment. Future versions of my OmniFocus-Mail scripts will require MailTags for link-back. (The previous version without MailTags will also remain available for the foreseeable future.)

isam 2007-07-13 11:55 PM

From Today's "Message of the Day":
- MailTags' message urls are now automatically recognized in notes.

I hope this will be a big boost for using MailTags with OF

curt.clifton 2007-07-14 05:21 AM

[QUOTE=isam]From Today's "Message of the Day":
- MailTags' message urls are now automatically recognized in notes.

I hope this will be a big boost for using MailTags with OF[/QUOTE]

I think so.

I posted [URL="http://www.rose-hulman.edu/~clifton/software.html"]new versions of my scripts[/URL] last night that use MailTags. (We're replacing a domain server today—Sat., July 14—so the link may only work sporadically.)


All times are GMT -8. The time now is 09:25 PM.

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