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

 
AppleScript that adds Waiting For emails from Mail.app (delegated tasks) to OmniFocus Thread Tools Search this Thread Display Modes
@ jeremyp...I have no idea. I'm a relative rookie to AppleScript, so when I muck around with it I usually end up breaking it before fixing it. But I do know that if you want an answer from one of the forums experts, they'll want to know more about the setup you're using. Especially they'll want to see a copy of the script you're using. You might want to start out by posting that.
 
I haven't made any mods to the script
 
After installing 10.8.3 the version of the script in abroess posting 120 is passing the email to Omnifocus. While MailTags allows me to select my Omnifocus project and context, Omnifocus is setting the context correctly but seems to be ignoring the project being set in Mail. The messages passed by the Mail Acton outbox rule seem to be associated with the first project in my library. The context is being set correctly.

Any thoughts or suggestions as to how to correct?


---------- subsequent update --------------------
After more carefully examining the early portions of this thread, I realize that my problem is most likely the result of my Omnifocus projects being in Folders. There are earlier posts in this thread such as ccgfour reporting a similar issue: http://forums.omnigroup.com/showpost...&postcount=117

My apologies to all for not having been more thorough before posting.

Last edited by rkv; 2013-04-21 at 03:35 AM..
 
Hello,

I am on 10.8.4 and the script in post 120 does not work for me. It appears to fail at the first attempt to set variables (in the first repeat). I put in messages up to this point and they appear correctly, but as soon as it gets to the first set command, the messages no longer appear and the AppleScript appears to stop running (no further messages that I have inserted appear).

Anyone else having this issue?

Thanks.
 
I posted a simple script that I based off the Waiting For script.

You can download the finished script in this thread: http://forums.omnigroup.com/showthread.php?t=30081

It makes it possible (with a Mail Act-On keystroke) to add items to OmniFocus inbox.

Would love to know if you find it useful or if you have suggestions for how to improve it.
 
Quote:
Originally Posted by SpinalTap View Post
Hello,

I am on 10.8.4 and the script in post 120 does not work for me. It appears to fail at the first attempt to set variables (in the first repeat). I put in messages up to this point and they appear correctly, but as soon as it gets to the first set command, the messages no longer appear and the AppleScript appears to stop running (no further messages that I have inserted appear).

Anyone else having this issue?

Thanks.
I don't know if you fixed your issue or not, but I just recently started having a similar problem. I did some poking around and it appears that the problem was related to emails I was sending where there was no name associated with the email address. The script was using the name of the to recipient. When there was no name, it failed. I added an if … then to check for a name and when there wasn't one just used the address instead and all appears well.

regards,

bex
 
Anybody try this with Mavericks yet?
 
Quote:
Originally Posted by bex View Post
I added an if … then to check for a name and when there wasn't one just used the address instead and all appears well.

Hi bex,

could you please drop the
Code:
if … then
script. This would be awesome.

Thanks a lot,

Michael
 
This script appears to provide the functionality I am looking for, which is great, but there's only one problem - I use Outlook 2011. Is there anything similar available for Outlook?

Thanks,

Adam
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to deal with delegated or "waiting for" actions bisimpson Applying OmniFocus 20 2013-02-27 06:52 AM
Delegated tasks? mattw OmniFocus 1 for Mac 35 2011-10-07 02:10 PM
Sync with Omnifocus on Mac adds completed tasks.. ohla313 OmniFocus for iPhone 7 2011-06-13 08:50 AM
Script to add delegated tasks from entourage to "Waiting" context in OmniFocus tarun101 OmniFocus Extras 1 2010-05-21 08:09 AM
Adding Tasks Via Send To OmniFocus Mail Rule, Mailtags, & Mail Act-On reuben OmniFocus 1 for Mac 0 2007-11-18 06:07 PM


All times are GMT -8. The time now is 12:20 AM.


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