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

OmniFocus to iPhone Bookmarklet [OmniFonecus V0.1] Thread Tools Search this Thread Display Modes
Thanks to wonderful groundwork of RobTrew, I have put together a small proof of concept applescript that will pull out all your actions, sort by context and build a web version for you that can be saved as a bookmark in safari, and then after an iPhone sync, will appear in your iPhone Bookmarks.

As the web page has been encoded into a Base64 Data:URI it will always be available for you, even when you have no EDGE, GPRS or WiFi access.

This version is a simple proof of concept - I have plans to allow for changing views and sorting. Also, I was going to add a simple check box for each item so you may mark off tasks as you do them.

Consider this web page version similar to printing out your Next Actions or emailing yourself a copy.

At present you will need to add the web page to your bookmarks manually, I am looking into automating this process.

Once again - a huge thanks to RobTrew.

Attached Files
File Type: zip OmniFonecus (26.0 KB, 484 views)

Last edited by tdc; 2007-09-30 at 01:36 AM..
You are very kind. I only sketched these simple traversals in order to find out how to do them. I am delighted if they turn out to be helpful.

Re this build of your app - on a 10.4.1 system it appears with a "not supported on this system" icon, and generates a related message.

Last edited by RobTrew; 2007-09-30 at 02:00 AM..
Youre welcome Rob, it was your collection of scripts that alerted me to what was possible.

I am using 10.4.10 - will look into why its not working. Could be the perl script doing base64 encoding.

Here is a different version, let me know if it helps.
Attached Files
File Type: zip OmniFonecus (30.3 KB, 447 views)
That works fine - very elegant !

If no Omnifocus window is open when your script is launched, an NSReceiverEvaluationScriptError is raised.

Without being able to see your code I suspect that you could avoid that by including a test for a window at the start, and creating a new window if needed. e.g.
    set oDoc to default document
    tell oDoc
        if number of document window is 0 then
	    make new document window with properties {bounds:{0, 0, 1000, 500}}
        end if
    end tell
Yeah! I can finally actually see my context lists on my iPhone. One issue, tho. It exports *everything* to the phone. So instead of a short list of six errands, I have a huge list of every errand I ever created. Is there any way to have it sync only the active (incompleted) items?
That is my intention - to offer different views etc. Also working on offering a webpage based submission form that would use your projects and contexts, and then form an email up for you to send to yourself that would then be picked up later and added to OF using one of the groovy mailscripts available.
Moving this script towards some good functionality, I have added the ability to touch the Context name to expand or collapse the corresponding list of tasks.

Hoping to get a chance tomorrow to be able to select a filter on the tasks displayed.
Attached Files
File Type: zip OmniFonecus (32.6 KB, 476 views)
v0.2 - lookin' good! :)
Hi. Iīm trying to download the file, but am not able to. It says I have to log in, which I do, than it thanks me for that with a successfull login, before I have to do it all over again. Those times I manage to log in, it canīt find the file.


v0.1 is no problem

Last edited by etvedt; 2007-10-15 at 07:47 AM..
Fails for me with "Some parameter wasn't understood" on 10.4.10

I've love to see the code to debug it, any chance of posting the source?



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with iPad Safari Bookmarklet? [Fixed: remove iPhone app and reboot] Danbustillos OmniFocus for iPad 9 2011-06-02 07:34 AM
Bookmarklet fails on iPad after uninstalling iPhone app [A: reboot iPad] Bill.Raynor OmniFocus for iPad 1 2011-04-05 11:24 AM
iPad browser that sends tasks to OmniFocus? [A: Use bookmarklet.] JamesX OmniFocus for iPad 1 2011-01-19 03:00 PM
Send to OmniFocus bookmarklet duncang OmniFocus 1 for Mac 4 2011-01-12 10:02 AM
Send to OmniFocus bookmarklet avernet OmniFocus for iPhone 5 2009-06-04 07:17 AM

All times are GMT -8. The time now is 03:58 PM.

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