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

 
how to clip a mail from mail.app to OF such that OF action title includes sender name Thread Tools Search this Thread Display Modes
i use Clipotron. but it is not working for me - items go to inbox, but just having the subject content be copied in OF action title is not working for me. I would like the Clipotron or a replacement also include the mail sender's name.

also, the clipotron appears to want me to select a text. an unnecessary intermediate step as i see it.

can i somehow achieve this instead: i simply press one combination keystroke and have the mail clipped to OF inbox such that the action title includes "Sender:xyz sub:abc"? i even have mail acton installed - if that creates more flexibility in using an apple script written by Omni or an expert on the forum.

thank you!
 
Quote:
Originally Posted by msim View Post
i use Clipotron. but it is not working for me - items go to inbox, but just having the subject content be copied in OF action title is not working for me. I would like the Clipotron or a replacement also include the mail sender's name.

also, the clipotron appears to want me to select a text. an unnecessary intermediate step as i see it.
The Clip-o-tron wants you to select a message, not a text. You click on the message in the list of messages and clip. As long as the active focus is in the message list, the only steps are selecting a message and invoking the clipping shortcut — how would you reduce that? The point of the Clip-o-tron is to let you quickly grab entire messages from the message list in Mail.

If you have the active focus in the message itself, then you are not using the Clip-o-tron, just the standard OmniFocus clipping service, and it is thus necessary to select some text.
Quote:
can i somehow achieve this instead: i simply press one combination keystroke and have the mail clipped to OF inbox such that the action title includes "Sender:xyz sub:abc"? i even have mail acton installed - if that creates more flexibility in using an apple script written by Omni or an expert on the forum.

thank you!
Yes, you can do that by tweaking the Applescript underpinnings of the clipping service a bit. In Mail-Leopard.applescript buried inside the BuiltinClippingHandlers.plugin file, in the "on clipping(CurrentApplication Info..." routine, there is a try block that should be altered like so:

Code:
try
				set MyName to "Sender: " & sender of first item of MyMessages & " Subject: " & subject
				set MyDateReceived to date received
				set MyFlagged to flagged status
			on error
(the original of the changed line reads simply "set MyName to subject")

To edit this file, select the OmniFocus application in the Finder (quit it first, if it is open). Right-click (or use the gear menu) and choose Show Package Contents. Double-click the Contents folder, then double-click the Plugins folder. Select BuiltinClippingHandlers.plugin, again do Show Package Contents, double-click Contents, then double-click Resources. Now double-click Mail-Leopard.applescript and the Applescript editor should launch and open the file. Make the change shown above, click the Compile button to make sure there are no errors, then save the change. At that point you should be able to launch OmniFocus again and test it out.
 
It probably doesn't need to be said, but I'll say it anyway! If you do make changes to any of the internal scripts in the package contents, they will be lost any time the OmniFocus app is updated. You'll need to edit the file(s) again after an update.
 
@whpalmer4 - thank you for the quick reply. instead of using clipotron in mail.app, i am now using the other script that you have created (link here http://forums.omnigroup.com/showpost...6&postcount=34)

@Greg Jones: very thoughtful. it is highly likely that i would not have thought about what you observed. and your observation is yet another reason why using the above linked script is a better solution for me.

thanks guys.
 
What I do especially like about the Clip-o-tron is that it formats the link back to the original email as 'Original Message', with the text as the link. I've never been able to figure out how that is done as all the things I have tried with scripts like the one you linked to show the link in the form 'message://%3C<messageID%3E'. I've successfully created links using the URL syntax in the script for other apps-wish I could do the same in OmniFocus.
 
@Greg: now that you mention it, i noticed the difference. may be i would have noticed it in a few days otherwise.
however, i really value the other script's integration with mailtags It allows me to set a due date at the time when i have just read the message in mail.app as opposed to when i sit down to clean-up OF inbox.
i actually wish that Omni team itself created a script for this integration - or at least that they modify it if the other script breaks due to an upgrade.

if you have not tried mailtags and mail acton, you should give them a try. great stuff.
 
The Clip-o-tron also picks up all the MailTags metadata that OmniFocus supports; project, due date, and if the email is flagged the task gets flagged in OmniFocus as well. Another nice feature that most people do not know about is what happens if you enter text in the Note field of MailTags and have that note selected when calling the Clip-o-tron. The contents of the note field is what is copied to the note field of OmniFocus instead of the body of the email. The same works for Keywords, although that's not very useful.
 
Quote:
Originally Posted by Greg Jones View Post
It probably doesn't need to be said, but I'll say it anyway! If you do make changes to any of the internal scripts in the package contents, they will be lost any time the OmniFocus app is updated. You'll need to edit the file(s) again after an update.
Something was bothering me after I wrote that post, and it wasn't just that I had to rush off to my next appointment. I guess part of me knew that I had left out something worth noting. Thanks for following that up, Greg!
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applescripts: Better Templates, Complete Tasks From Mail.app Sender, and Batch-Defer pxldot OmniFocus Extras 25 2014-04-01 06:55 AM
Services, clip from Mail dnim OmniFocus 1 for Mac 2 2011-10-26 07:43 PM
Help - Clip-o-tron and Mail 4.1: not working for me. Tinchohs OmniFocus Extras 3 2009-09-24 01:05 PM
clip multiple email from mail.app steve OmniFocus 1 for Mac 0 2009-09-11 08:25 AM
Action from mail not working when mail sent from outlook gmahoney OmniFocus 1 for Mac 1 2008-07-15 12:14 PM


All times are GMT -8. The time now is 07:58 AM.


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