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 Today's Posts

 
Send an action from Alfred.app to OmniFocus Thread Tools Search this Thread Display Modes
Quote:
Originally Posted by byamabe View Post
I found two non-optimal solutions which involve adding lines after "tell application":
1.
activate

Problem with this is that OmniFocus will always be brought to the front.

2.
launch
delay 1
Thanks for the suggestions. On my machine, (1) didn't change the behavior. I suspect OF does some things at first launch that render it incapable of properly handling the script. If I launch OF, quit it, and then run the original script, it works fine. Only on a "cold" launch does it crash. It's hard to believe caching could make the difference. I suspect it's some process (sync to the OF sync server?) that is different with the "cold" versus "warm" launch.

I was able to play around with a combination of "activate" and "delay" that seems to work better. Testing is a pain, cause you have to wait a while (or reboot) to recreate the "cold" launch.
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
OmniFocus and Alfred 2 workflow wilsonng OmniFocus Extras 7 2013-05-08 08:52 AM
OmniFocus 2 Standard and Alfred gattaca OmniFocus 2 for Mac (Private Test) 13 2013-04-16 02:08 PM
Send to Omnifocus mcortina OmniFocus Extras 0 2011-07-11 10:04 AM
Send to Omnifocus? bcalloway OmniFocus for iPhone 2 2010-01-23 07:24 PM
Restoring deleted proj./action on Mac [A: Open OmniFocus backup on Mac, copy action.] MichaelG OmniFocus for iPhone 4 2009-08-31 09:52 PM


All times are GMT -8. The time now is 12:48 AM.


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