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

 
Remote server hack? Thread Tools Search this Thread Display Modes
I'm not sure if this is a reasonable idea or not, but I have a problem that I would like to solve:

I use a laptop and an iPhone. I want to use the web interface to OmniFocus. My laptop is often offline.

What about storing my OmniFocus data file on a file server? Now, on its own, that won't really solve any problems.

What I'm thinking is, I have OmniFocus both on the server and on my laptop, both pointed at the same data file. I won't run them both at the same time. When I wake up my laptop, I'll have an AppleScript that sends a remote message to the server's instance of OmniFocus and makes it quit, and then starts up OF on my laptop.

Any thoughts on this? I know that, with some appropriate scripting, I can make it work at _some_ level, I'd just like to figure out how to do it in a safe and clean way.

My current thoughts on the quickest hack:
* Normal system state: OmniFocus + web interface running on file server.

Start up wrapper around OF on laptop:
* Laptop talks to file server. File server is asked to shut down OF and the web interface.
* OF's data file is copied over to the laptop *or* OF is pointed at a shared file.
* Play around in OF for awhile.
* When I quit OF, either re-upload the file automatically, or, if the file is shared via the file server, just send a message to the file server to restart the web interface.

After all this, though, when I look at what the OF web interface does right now, I'm actually tempted to take an entirely different approach:

Essentially, write my own version of the web interface. The web interface has a fairly static view of the OF data, and allows only a few (two) operations on the data:
1. Check an item off
2. Add a new item to the inbox

The laptop would feed data to the server side, keeping it up to date with the state of the current OF document. This could be done by using AppleScript to read data from OF, or it could be done via directly reading the XML data files.

On the server side, the iPhone interface would feed both check and uncheck actions, and new inbox items, to the OmniFocus instance on your laptop, probably via AppleScript.

Any thoughts? It seems a bit convoluted, but I've been poking around at the AppleScript support in OF, and something like I described would be reasonable to implement in Python, I think.

(I'm submitting this as a feature request, but I would prefer for the web interface to be single-finger scrollable. I know that this would mean the top banner scrolled all the time, but I would find that a worthwhile tradeoff)
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
TaskPaper like remote note entry. Simon Knight OmniOutliner 3 for Mac 0 2011-09-17 08:57 PM
Paste in Front hack? XedMada OmniGraffle General 1 2010-05-27 05:02 AM
Someone trying to hack into my OF sneek peek account Anthony.Calzadilla OmniFocus 1 for Mac 6 2007-08-08 08:57 AM
using the apple remote with pixie dust jh100000 OmniDazzle 0 2007-02-06 10:28 AM


All times are GMT -8. The time now is 02:54 PM.


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