The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   Remember the Milk script posted (http://forums.omnigroup.com/showthread.php?t=5806)

MB_UST 2007-11-25 07:31 PM

Remember the Milk script posted
 
Hello everyone,

I just began to use OmniFocus together with Remember the Milk. Wanting to have a way to send my Next Actions to Remember the Milk (so that I can view them on my iPhone), I wrote a script that retrieves all the Next Actions of every project I have and then sends them to Remember the Milk. The script uses tags as the holder for contexts. I've posted the script online at:

[url]http://www.camartis.org[/url]

Maybe someone will find it useful. MB

imsoper 2007-11-26 06:03 PM

How would you change this script to make it work with Mail.app?

MB_UST 2007-11-26 07:48 PM

[QUOTE=imsoper;26354]How would you change this script to make it work with Mail.app?[/QUOTE]
The script relies on a very short command to Entourage:
tell application "Microsoft Entourage"
set Temp to make new draft window with properties {subject:subj,
recipient:RespEmail, content:Body}
send Temp with sending later
end

All you need to do is use the appropriate Mail commands instead of what is here, keeping the variables as listed. Do you know how to write Applescript? If not, I can send you the commands another day. Just let me know.

Tinchohs 2007-11-27 05:49 AM

I don't know any Applescript, and would love if you - when ever you have time - can send me the adjustments to work with Mail.app. Thanks so much.

ext555 2007-11-27 05:56 AM

thanks ! I"ve been using RTM for an errands list and jotting to it .
I'll give it a try .

I wish there was a way to jott to omni focus but the mail parameters don't seem to cooperate .

MB_UST 2007-11-27 06:18 AM

I don't know Jott, but OmniFocus's dictionary is quite good and robust. Woud that other (even mature) applications had such a good AppleScript dictionary. If there is an easy way to extract information from Jott, it would be relatively simple (i.e., at most a day's worth of work, or just a few hours) to develop a script that would move information from Jott to OmniFocus.

I'm preparing for a trip and will be gone for a week begining Saturday. If I have a chance, I will post a Mail version of the script before I go, but no promises.

MB_UST 2007-11-27 06:20 AM

By the way, I updated the script to include all the items in a non-sequential list. It runs now as an application.

ext555 2007-11-27 08:55 AM

Jott's a free phone service that let's you call a voice mail box and have your message emailed to someone or yourself . RTM has a plug-in for Jott that you can leave a message and it will add the item to your RTM list .. it's hard to get it to work with OF because Jott doesn't recognize "--" when I say it , it hears it as " tyson, tyson " ; ) .

MB_UST 2007-11-27 03:51 PM

How about sending an email to yourself that, given the appropriate AppleScript parsing would change the content of the email to an OF friendly format, and then transfer it to OF?

akelley 2007-11-27 04:18 PM

Your OFRetrieveHandlers.applescript is an empty file?
 
Tried downloading your handlers but when I open the file in Script Editor its an empty file. I'm interested in using them for my scripts, could you double check?

kalesb 2007-11-27 05:04 PM

OF and Jott
 
I don't know if this answers the question, but I have a script that converts an Entourage email to an OF task and another one that does the same thing for a Mail.app email. Its not instantaneous like the RTM plugin is, but it works well enough for me.

In Entourage/Mail.app I have a rule that's:
- if from contains "notify@jott.com"
- then run applescript "send message to Omnifocus"
- mark the message as read
- file it away in a special folder

I think you can also use the Mail Pref pane in OF to do this. Under the section "Handle messages having", click "a subject starting with" and enter "(Jott to Self)". I haven't tried this, but it seems like it should work.

Scripts can be found at:
Mail.app
[url]http://forums.omnigroup.com/showthread.php?t=5369&highlight=mailtask[/url]
Entourage
[url]http://forums.omnigroup.com/showthread.php?t=3941&highlight=entourage[/url]


Sam

MB_UST 2007-11-27 05:50 PM

Ok. I reloaded it and tested it. Try again.

MB_UST 2007-11-27 05:52 PM

[QUOTE=Tinchohs;26419]I don't know any Applescript, and would love if you - when ever you have time - can send me the adjustments to work with Mail.app. Thanks so much.[/QUOTE]

I posted a new version of the script. I hope it works for you.

Tinchohs 2007-11-28 06:01 AM

Question....
 
[QUOTE=MB_UST;26570]I posted a new version of the script. I hope it works for you.[/QUOTE]

Thanks SO much. I have a quick question. I think it might not work in Leopard (10.5)? When I try to run it, it says that 'classic' it's not supported. Any feedback it's appreciate it.

Thanks a lot. Martin.

MB_UST 2007-11-28 08:04 AM

It should work in Leopard, though I'm running 10.4.11, so I have not tested it yet. Try opening it with your Script Editor, recompiling it (if errors show up, let me know by private message), and then save it as an application. Let me know how it works.

Tinchohs 2007-12-07 08:06 AM

I am not sure what's going on...
 
1 Attachment(s)
[QUOTE=MB_UST;26663]It should work in Leopard, though I'm running 10.4.11, so I have not tested it yet. Try opening it with your Script Editor, recompiling it (if errors show up, let me know by private message), and then save it as an application. Let me know how it works.[/QUOTE]

HI MB, sorry for my delay. Somehow (among the many threads I am subscribed to) I missed your last post.

I tried opening in script editor and re-compiling. It did not work. I get a syntax error, and the text of the script once opened does not make any sense. Take a look at this screen capture. I get the sense I am doing something wrong, but not sure what...

MB_UST 2007-12-08 09:14 AM

Hi. I don't think you are doing anything wrong. It may be Leopard, but I doubt it. I've recompiled the scripts and corrected a couple of bugs that may have created problems for you. I've reloaded the scripts to my web site. Try again. If this does not work, I'll send you a text file with the script. If running the application downloaded from my web site does not work, and if the script does not work even with pasting it to the Script Editor from a text file, I'm afraid that it may be a Leopard issue. I doubt it, though. I'm pretty sure the script should work easily in Leopard. When it finishes sending the email, a window appears saying so.

Sorry that this is not working for you. It works really well for me!

MB

Gretchen 2007-12-08 08:12 PM

Jott to Omni via Mail
 
Hi,
Since I don't (yet) know Applescript, I came up with a fairly simple workaround. It does rely on being able to create an alias email address. I think the steps necessary are the following (there may be an extra unnecessary one in there, but I'm sleepy at the moment. . . )

-- in Omni, set Mail to respond to "Omnifocus" and add "notify@jott.com" as a valid address.

-- that should have added a new rule in Mail called "send to Omnifocus." Change the recipient to plain vanilla "omnifocus" by simply removing the plus sign (+) since that does indeed confuse jott.

-- Go to your mail account in the sky -- in my case .Mac -- and create an alias; the name I gave it was Omni Omnifocus and an appropriate address that .mac will accept. Suzy Omnifocus should also work just fine.

-- now go to Jott and add Omni Omnifocus and whatever alias email address you have created.

-- Now, when you call Jott, just say you want to jott Omni (or Suzy, etc), and the voice will say, in my case, "Omni Omnifocus?" Since that's who the email is addressed to, the mail rule in Mail plops the text straight into Omni's Inbox.

-- I've not yet tried adding Omni Omnifocus to IWantSandy, but since I do Jott to Sandy, and that service is better at parsing natural language into calendar entries, I keep meaning to try it as a very, very roundabout way to get from my phone to iCal. Ah geek joy!

I hope this helps someone!

ciao,
Gretchen

MB_UST 2007-12-14 04:00 AM

Two points: one on my scripts at [url]http://camartis.org[/url]. I fixed the problems that people were having downloading the files. It should all work now.

Second, on Jott: I'll post later when I updated the site, but I have been testing a script that allows direct transfer from a Jott message to OmniFocus. So far it works well with action items and sets the deadline from the reminder date. I really enjoy it, but I have other things I want to do with it. I'll try to update my web site with it by Monday or Tuesday (I'm leaving on a trip in a few hours).

macguai 2007-12-14 07:44 AM

Hi!


Same problem than Tinchohs. I´ve 10.5.

Thanks

MB_UST 2007-12-16 02:58 PM

Send me an email to [email]mbust@mac.com[/email] and I'll email you back a copy of the script (tell me which one you want). Then see if it works.

I've tested the downloads with my wife's computer (same as mine, unfortunately: 10.4.11), and it works perfectly well. I can't imagine that there would be a problem with 10.5. If someone has downloaded the scripts to a 10.4.xx machine very recently (this weekend) and still encountered problems, please let me know.


All times are GMT -8. The time now is 02:52 AM.

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