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 Syncing > iCal Sync
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Sync via applescript brings up iCal dialog Thread Tools Search this Thread Display Modes
Every time I shut things down at the end of the day to go home, I have an Applescript which syncs then quits OmniFocus. However, now every time I get an error message about needing to go to the prefs to set up iCal. I'm not trying to sync iCal, I'm just trying to a regular MobileMe sync of the data.

There is a separate command for iCal syncing, and I'm not using it--so why is it giving me grief about iCal?

(This has been going on for about a week--I always update to the latest build when it prompts me.)

Thanks,
-Mike
 
Can we see your script? Maybe there's a bug in the script, or maybe the fix to get ical_synchronize to work has some flaws. Either way, it'd probably be easier to track down if we can see what you use to cause it. My attempts to reproduce the problem with the following script were unsuccessful. It just did a regular sync (not iCal) and quit.

Code:
tell application "omnifocus"
    synchronize
    quit
end tell
What are you trying to accomplish with the script? I know that OmniFocus will now do a sync automatically if you have unsynced changes when you do the quit command.
 
I'm not sure whether we fixed the ical_synchronize bug by changing the code for synchronize or ical_synchronize. If your script is compiled, you may need to re-open it, make sure it still says 'synchronize', and then recompile it.
 
That was it, the script just needed a re-compile. Thanks!
 
So in order to sync with iCal, you could run??:

Code:
tell application "omnifocus"
    ical_synchronize
end tell
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving to OF from Palm/Missing Sync/ical - can I import from ical? Don Richmond OmniFocus 1 for Mac 6 2009-09-03 06:00 AM
Applescript to sync with iCal? tah iCal Sync 0 2009-04-01 11:03 AM
Applescript? to automatically sync with iCal Hayl iCal Sync 1 2008-10-03 04:57 PM
Sync with iCal via AppleScript The Limey OmniFocus Extras 2 2007-12-19 06:19 AM


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


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