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)
-   -   MailAction.applescript doesn't create anything in OF (http://forums.omnigroup.com/showthread.php?t=5569)

Dalmet 2007-11-16 04:31 AM

MailAction.applescript doesn't create anything in OF
 
I have set up the script using the menu option in OF 94644. The subject delimiter is set to 'do:'.

When I receive mails with this subject on my GMail (IMAP) account, the rule moves the messages to the trash at GMail. However, nothing is created in OF.

Has anybody got an idea what I'm doing wrong?

I'm running OS X 10.5.1 (German).

Tim Wood 2007-11-16 08:08 AM

A bunch of the implementation of the Mail rule got cleaned up and reworked last night -- please give this a try in r94692 or later and see how that goes. You'll probably want to go into OmniFocus' Mail preferences, disable the rule and then reenable and configure it.

Dalmet 2007-11-16 09:15 AM

Thanks, it works now.

I noticed that the body of my mail didn't get appended as a note but that might be due to general Outlook weirdness (I'm using Outlook at work to mail todos back home).

The task got added [I]including[/I] the prefix defined in Mail preferences. I did not expect this. Is this a bug or a feature? I'd prefer it if OF stripped it but maybe that's just me.

wealthychef 2007-11-16 03:56 PM

What is this MailACtion thing? I tried to use it and it did nothing. Do I need special software or something?

Lizard 2007-11-16 05:16 PM

Mail Actions are a set of Mail rules that OmniFocus can put into Apple Mail for you, so that, for example, any email you receive which starts with "--" will be copied over to OmniFocus as a new task in your inbox. That way, all you need to add an item to your inbox is a way to send email -- from work, from your iPhone, from a friend's computer...

dhm2006 2007-11-17 04:41 AM

[QUOTE=Lizard;24832]Mail Actions are a set of Mail rules that OmniFocus can put into Apple Mail for you, so that, for example, any email you receive which starts with "--" will be copied over to OmniFocus as a new task in your inbox. That way, all you need to add an item to your inbox is a way to send email -- from work, from your iPhone, from a friend's computer...[/QUOTE]

That worked. OF opened. The email showed up in the inbox. The email was sent to trash. However, mail "unexpectedly closed." Is that a bug? Happens every time I try it.

Tim Wood 2007-11-17 05:06 PM

[QUOTE=Dalmet;24785]Thanks, it works now.

I noticed that the body of my mail didn't get appended as a note but that might be due to general Outlook weirdness (I'm using Outlook at work to mail todos back home).

The task got added [I]including[/I] the prefix defined in Mail preferences. I did not expect this. Is this a bug or a feature? I'd prefer it if OF stripped it but maybe that's just me.[/QUOTE]

Both of these sound like bugs; please make sure to report this via Send Feedback along with details about how you've configured the rule and if possible an example message that isn't working as expected for you.

Tim Wood 2007-11-17 05:07 PM

[QUOTE=dhm2006;24873]That worked. OF opened. The email showed up in the inbox. The email was sent to trash. However, mail "unexpectedly closed." Is that a bug? Happens every time I try it.[/QUOTE]

The Mail crash is a problem with their support for 'duplicate' in AppleScript. We switch stuff up in the Mail support again recently to avoid this, so make sure you have the latest build, turn off Mail support in our pref pane and turn it back on again, and you should have the version of the Mail rule that avoids crashing Mail.

dhm2006 2007-11-18 10:19 AM

[QUOTE=Tim Wood;24941]The Mail crash is a problem with their support for 'duplicate' in AppleScript. We switch stuff up in the Mail support again recently to avoid this, so make sure you have the latest build, turn off Mail support in our pref pane and turn it back on again, and you should have the version of the Mail rule that avoids crashing Mail.[/QUOTE]

Thank you. That worked great. No more mail crashes.


All times are GMT -8. The time now is 06:42 PM.

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