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

 
How I see my OmniFocus Tasks on my iPhone Thread Tools Search this Thread Display Modes
I'm no developer and don't know a thing about scripting (as this post will prove!) but I managed to find a little workaround for viewing my task list on my iPhone.

Technically it's just a web page that I can access from any browser, but the main reason I created it was for my iPhone. Of course being a simple web page means there is no way to add to it or check things off as completed; but it's better than being out running errands and forgetting what I meant to do. Here's what I did:

You need OmniFocus (duh), a .Mac account, and iWeb (I used iWeb 1.1.2).

First I created a new site in iWeb called "OmniFocus" with a single "welcome" page (I removed all elements from the page). With the site name selected in the left pane, I opened the inspector and chose the site tab, then selected "Password", checked the box for "Make my published site private," and created a user-name and password. I published the page and then moved on to the next step.

Once the site was published I went to OmniFocus and chose the Perspective I wanted to put on-line. I then clicked on File ->Export. I left the file name of "OmniFocus" and chose "Simple HTML" for the file format. I then expanded the save dialog and unchecked "Hide Extension." Then I chose to save the exported file to: iDisk->Web->Sites->iWeb->OmniFocus.

[OmniFocus remembers your choice of directory, so I made the dialog box small again and now just use the keyboard to get my newest task list on line: (command+alt+E followed by hitting return twice - once to save and again to replace the file).]

That's it.

If you've done all that you just navigate to your OmniFocus site by going to
http://web.mac.com/.MACUSERNAME/iWeb/OmniFocus/OmniFocus.html. Your browser will ask for the username/password you created in iWeb. Bookmark it in Safari and sync to your iPhone and you can now see your tasks on your iPhone!

Notes: I recommend your chosen perspective be in Context mode and grouped by Context. That way you can easily look at the relevant part of the list depending on where you are. ---- One cool thing is that in your "Calls" context (or where ever you put your phone calls) the iPhone recognizes the phone numbers in your tasks so you can just tap them to make the call - so make sure you include numbers in all your phone call related tasks.

Warning: I'm sure that the iWeb user/pwd is not the best security and of course it's not a secure page. So you might want to be careful not to have any personal or sensitive info in your tasks.

On that note, if you don't care about securing your task list you can skip the whole iWeb thing and just export your file to iDisk->Web->Sites. Then your URL would be http://web.mac.com/.MACUSERNAME/OmniFocus.html

I hope someone finds this helpful.
 
This is what I do. I just wish I could find some script or such thing that would automate the process for me.
 
There does not seem to be the ability to Applescript the export function, otherwise I really like this idea.
 
Quote:
Originally Posted by sterling View Post
There does not seem to be the ability to Applescript the export function, otherwise I really like this idea.
Try using the "as" parameter to the "save" command to specify a different file type, like this:

Code:
tell application "OmniFocus" to tell default document
	save in "/tmp/OmniFocus-Export.html" as "HTML"
end tell
Hope this helps!
 
Quote:
Originally Posted by Ken Case View Post
Try using the "as" parameter to the "save" command to specify a different file type, like this:

Code:
tell application "OmniFocus" to tell default document
	save in "/tmp/OmniFocus-Export.html" as "HTML"
end tell
Hope this helps!
I had to change the save path to use colons instead of slashes. So to do the .mac export:
Code:
tell application "OmniFocus" to tell default document
	save in ".macusername:Public:OmniFocus-Export.html" as "HTML"
end tell
That is, if you want the page to be open to the public.
Now all I need is to set the perspective...
 
We intend to add more AppleScript support for perspectives, but it was a lower priority than synchronization so we decided it should wait.

I thought you could set a perspective on a window by setting its "perspective name" attribute, but that doesn't seem to be working for me. What does work is to open a perspective file directly:

Code:
tell application "OmniFocus" to tell default document
	open "Disk:Users:kc:Library:Application Support:OmniFocus:Perspectives:Due.ofocus-perspective"
end tell
(Sorry about the slashes in my previous example: those work for me on Leopard, but that must be a new Leopard AppleScript feature.)

Hope this helps!
 
thanks for this!

I just set it up as an automatic action in Automator that happens every day. That way, I don't have to think about it, and every day my html of my contexts is refreshed.

If anyone's interested, here's what I did in Automator...

1. Launch Application - OmniFocus
2. Watch Me Do - had it record me changing the perspective to context, and exporting it as an html file
3. Get Specified Finder Item - OmniFocus.html
4. Upload files - I use Transmit as an FTP client, and it has Automator actions
5. I saved it as a Plug-in, selected ical alarm, and have it going every day

hope that can help someone else too...
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use PC to type tasks and sync with OmniFocus on Iphone? houmie OmniFocus for iPhone 26 2012-11-22 08:19 AM
iTunes Error 0xE8008001 when Trying to Sync Omnifocus iPhone App to iPhone 4 nbaker OmniFocus for iPhone 1 2011-04-08 02:26 PM
Omnifocus tasks in iphone and ical ScottNYC OmniFocus Syncing 1 2010-01-14 08:18 AM
omnifocus not showing all tasks on iphone when using context michaelholt OmniFocus 1 for Mac 4 2009-11-05 09:03 AM
Search Function in iPhone App? [Yes; added in OmniFocus for iPhone 1.5] Mr. Reeee OmniFocus for iPhone 16 2009-06-22 09:47 AM


All times are GMT -8. The time now is 09:18 PM.


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