The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   Sync with iCal via AppleScript (http://forums.omnigroup.com/showthread.php?t=4251)

The Limey 2007-07-21 05:12 AM

Sync with iCal via AppleScript
 
I can't find this in the dictionary, which rather surprised me.

Anybody know if this is planned at all? And if not, would scripting it via GUI scripting be a bad idea?

Netzach 2007-12-19 04:31 AM

I'm trying to do the same thing, I'm not that good at AS, so this is all I can figure out from the dictionary:
[QUOTE]
tell application "OmniFocus" to ical_synchronize
[/QUOTE]
What am I doing wrong?
It looks in the dictionary that I'm supposed to refer to the default document, how do I do that?

bokonon38 2007-12-19 06:19 AM

go this way:

tell front document of application "OmniFocus"

ical_synchronize

end tell

or the simple way:

tell front document of application "OmniFocus" to ical_synchronize


All times are GMT -8. The time now is 09:20 AM.

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