Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write back to OF #1

Open
Maxim-Filimonov opened this issue Jul 16, 2014 · 3 comments
Open

Write back to OF #1

Maxim-Filimonov opened this issue Jul 16, 2014 · 3 comments

Comments

@Maxim-Filimonov
Copy link

Hey,
This is an awesome project thx a lot 👍
Have you considered to extend it to allow to write back to OF? Something like if you drag an item on a Kanban wall it will update OF project status automatically.

@jyruzicka
Copy link
Owner

Hi Maxim. It's not something I've explored, but it should be possible (and is probably easier to do in Objective-C than Applescript). I'll add it to the to-do list.

What particular operations would you be interested in seeing?

@Maxim-Filimonov
Copy link
Author

I had this crazy idea of creating an API that way for local omnifocus db. Essentially writing to remote db instead of local one. Primarily to be able to sync with different systems like Pivotal Tracker, etc without using applescript.
Operations i'm thinking about would be (in priority order):

  • Find a task id by it's name (not sure maybe available already)
  • Create a new task with attached url. (Pivotal tasks assigned to me -> OF Inbox)
  • Complete a task in OF.

I'd be interested in pairing on this if you want.

@jyruzicka
Copy link
Owner

Find a task id by it's name (not sure maybe available already)

Not yet, but this would be pretty easy to implement.

Create a new task with attached url. (Pivotal tasks assigned to me -> OF Inbox)

This would probably be hardest. It should be pretty straightforward, but ScriptingBridge sometimes throws weird problems IME...

Complete a task in OF.

This should also be pretty easy!


I've added these points to my notes on the subject. The actual implementation should be pretty quick (e.g. marking a task complete would just involve adding the right terms into the OmniFocus.h header, and hooking them up to the appropriate JRTask methods) - I'd want to run a few tests to make sure everything works before pushing a new release. If you want to lend a hand, feel free to fork 😄

[ETA: Going to leave this issue open until I push a version with these features]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants