The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   iCal Sync (http://forums.omnigroup.com/forumdisplay.php?f=54)
-   -   Applescript? to automatically sync with iCal (http://forums.omnigroup.com/showthread.php?t=9832)

Hayl 2008-09-10 11:26 AM

Applescript? to automatically sync with iCal
 
Is there a way to make Omnifocus sync automatically with iCal, say every hour or something?

snarke 2008-10-03 04:57 PM

Well, here's one way. Save this applescript as an application, and have it launch when you log in:

[CODE]
repeat
delay 3600 -- in seconds
tell application "OmniFocus" to ical_synchronize
end repeat
[/CODE]

Invoking it with [U]cron[/U] or [U]launchd[/U], or using the [U]idle[/U] handler, is left as an exercise to the reader.


All times are GMT -8. The time now is 11:06 PM.

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