11/21/2023 0 Comments Omnifocus gmail![]() If this post seems short on details, it’s because the steps for setting up Dial2Do for OmniFocus are almost exactly the same as those for setting up Jott for OmniFocus. That’s it! With those two small changes, Dial2Do messages sent to “focus” will show up in my OmniFocus Inbox for further processing. Dial2Do puts the meat at the top of the message instead of in the middle the way Jott does. The task text is taken from the first paragraph of the email body (Line 37) instead of the third.The log command in Line 23 now indicates that the OmniFocus task is coming from Dial2Do2OmniFocus.There are only two differences between this script and the Jott version: All rights reserved.ģ: - $Header: svn+ssh:///Source/svn/Omni/branches/OmniFocus/1.x/OmniGroup/Applications/Focus/App/Preferences/MailAction.applescript 100519 21:12:32Z bungi $Ħ: - Trims "foo " down to on trim_address(theAddress)ĩ: set AppleScript's text item delimiters to ""ġ2: set MyResult to item 1 of WithoutPrefix's text itemsġ6: set AppleScript's text item delimiters to -> restore delimiters to default valueĢ3: log "OmniFocus calling process_message in Dial2Do2OmniFocus script"Ģ5: - Allow the user to type in the full sender address in case our trimming logic doesn't handle the address they are using.Ģ6: set theSender to sender of theMessageĢ7: set trimmedSender to my trim_address(theSender)Ģ9: set AllowedSender to allowed mail sendersģ0: if AllowedSender does not contain trimmedSender and AllowedSender does not contain theSender thenģ6: set messageText to the content of theMessage as textģ7: set theTask to paragraph 1 of messageTextĤ0: parse tasks with transport text theTask without as single taskĤ5: on perform mail action with messages theMessagesĤ7: set theMessageCount to count of theMessagesĤ8: repeat with theMessageIndex from 1 to theMessageCountĤ9: my process_message(item theMessageIndex of theMessages)ĥ3: log "Exception in Mail action: (" & n & ") " & mĥ6: end perform mail action with messages Here’s Dial2Do2OmniFocus: 1: - Copyright 2007 The Omni Group. Both scripts are slightly reworked versions of the script supplied with OmniFocus to handle emailed tasks. The rule, which used to run the Jott2OmniFocus script, now runs a similar script called Dial2Do2OmniFocus. ![]() The setup at Dial2Do is basically the same as that at Jott: I created a contact with the name “focus” and an email address of the form I modified the Mail Rule that handles addresses sent to the “+omnifocus” address. Unlike Jott, Dial2Do still sends emails for free, so I decided to give it a try and rework my Jott2OmniFocus AppleScript to handle emails from Dial2Do. The comments in this post at Lifehacker led me to look into Dial2Do, a service similar to Jott that transcribes your voice messages and emails them to you. Next post Previous post Dial2Do and OmniFocus ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |